kgagtypes.h
来自「AMLOGIC DPF source code」· C头文件 代码 · 共 62 行
H
62 行
/** KGAgTypes defines public structures and callback functions used in the KG SDK API. These
cannot be defined in KGDefs because they depend on classes that depend on KGDefs. */
#ifndef KG_TYPES_H
#define KG_TYPES_H
#include "net/util/uri.h"
typedef void * KGListHandle;
typedef char * CKGString;
typedef boolean bool;
typedef enum urlType_e {
creative_embed,
creative_landing,
my_projects,
my_account,
favorite_landing,
gallery_home,
friends_albums,
sych_val_prop,
home,
tos,
forgot_pass,
nmi,
gen_val_prop,
email_val_prop,
pub_val_prop,
create_val_prop,
returning_member
}urlType_e;
typedef enum inventoryItemType_e {
print,
photo_book_cover,
photo_greeting_card,
calendar
}inventoryItemType_e;
/** \brief This structure holds URLs and the information needed to identify what they are
for. */
typedef struct KGUrlSpec
{
CKGString urlType; // for User URLs: this identifies the "type" of URL that would be
// used in a browser to get to that type of page (e.g.
// forgot_pass, favorite_landing, see Partner spec.)
// for Collection URLs this is the unique id for the collection.
CKGString url; // what its all about
}KGUrlSpec;
typedef struct KGUrlTypeSpec
{
urlType_e urlType;
}KGUrlTypeSpec;
typedef struct KGStringListSpec
{
CKGString stringElement;
}KGStringListSpec;
/********* This section defines structures used to hold data returned from Ofoto *******/
/* See Partner XMI 3.0 Reference - Revision X09
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?