00001 /****************************************************************************** 00002 * Copyright (c) 1999-2008 ACCESS CO., LTD. All rights reserved. 00003 * Copyright (c) 2007, ACCESS Systems Americas, Inc. All rights reserved. 00004 *****************************************************************************/ 00013 #ifndef ALP_EMOTICON_PARSER_H_ 00014 #define ALP_EMOTICON_PARSER_H_ 00015 00046 // Linux 00047 #include <glib.h> 00048 00049 // ALP 00050 #include <alp/bundlemgr.h> 00051 00052 /****************************************************************************** 00053 *****************************************************************************/ 00054 00055 #ifdef __cplusplus 00056 extern "C" { 00057 #endif 00058 00059 00060 /****************************************************************************** 00061 * Public Structures 00062 *****************************************************************************/ 00063 typedef struct _AlpEmoticonRef AlpEmoticonRef; 00064 struct _AlpEmoticonRef 00065 { 00066 AlpBundleRef bundleRef; 00067 char* basePathP; 00068 unsigned int emoticonCount; 00069 char** emoticonFileNameP; 00070 char*** emoticonShortcutP; 00071 GNode* emoticonTreeP; 00072 }; 00073 00074 00075 /****************************************************************************** 00076 * Public Functions 00077 *****************************************************************************/ 00078 00086 AlpEmoticonRef* alp_emoticon_init(const char* iBundleNameP); 00087 00093 void alp_emoticon_free(AlpEmoticonRef* ioSelfP); 00094 00104 void alp_emoticon_insert_in_textview( const AlpEmoticonRef* iSelfP, 00105 GtkTextView* iTextViewP, 00106 const gchar* iTextP, 00107 const gchar* iTagP); 00108 00109 00110 /****************************************************************************** 00111 *****************************************************************************/ 00112 00113 #ifdef __cplusplus 00114 } 00115 #endif 00116 00117 #endif 00118
Copyright © 1999-2008 ACCESS CO., LTD. All rights reserved.