Zapojit Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy |
Synopsis
#include <zpj/zpj.h>
#define ZPJ_SKYDRIVE_FOLDER_MY_DOCUMENTS
#define ZPJ_SKYDRIVE_FOLDER_MY_PHOTOS
#define ZPJ_SKYDRIVE_FOLDER_PUBLIC_DOCUMENTS
#define ZPJ_SKYDRIVE_FOLDER_SKYDRIVE
struct ZpjSkydriveFolder;
struct ZpjSkydriveFolderClass;
ZpjSkydriveEntry * zpj_skydrive_folder_new (JsonNode *node
);
Details
ZPJ_SKYDRIVE_FOLDER_MY_DOCUMENTS
#define ZPJ_SKYDRIVE_FOLDER_MY_DOCUMENTS "me/skydrive/my_documents"
Friendly name for the Documents folder. It can be used as the "id" and "parent_id".
ZPJ_SKYDRIVE_FOLDER_MY_PHOTOS
#define ZPJ_SKYDRIVE_FOLDER_MY_PHOTOS "me/skydrive/my_photos"
Friendly name for the Pictures folder. It can be used as the "id" and "parent_id".
ZPJ_SKYDRIVE_FOLDER_PUBLIC_DOCUMENTS
#define ZPJ_SKYDRIVE_FOLDER_PUBLIC_DOCUMENTS "me/skydrive/public_documents"
Friendly name for the Public folder. It can be used as the "id" and "parent_id".
ZPJ_SKYDRIVE_FOLDER_SKYDRIVE
#define ZPJ_SKYDRIVE_FOLDER_SKYDRIVE "me/skydrive"
Friendly name for the Skydrive top-level folder. It can be used as the "id" and "parent_id".
struct ZpjSkydriveFolder
struct ZpjSkydriveFolder;
The ZpjSkydriveFolder structure contains only private data and should only be accessed using the provided API.
struct ZpjSkydriveFolderClass
struct ZpjSkydriveFolderClass { ZpjSkydriveEntryClass parent_class; };
Class structure for ZpjSkydriveFolder.
ZpjSkydriveEntryClass |
The parent class. |
zpj_skydrive_folder_new ()
ZpjSkydriveEntry * zpj_skydrive_folder_new (JsonNode *node
);
Creates a new ZpjSkydriveFolder from the given node
. If you
already know the ID of the folder then you can use
zpj_skydrive_query_info_from_id()
.
|
A JsonNode returned by the server. |
Returns : |
A new ZpjSkydriveFolder. Free the
returned object with g_object_unref() . [transfer full]
|