57 "PEP avatars handling\n" \ |
57 "PEP avatars handling\n" \ |
58 "Recognizes options avatar_directory, avatar_font_height, avatar_font_width, avatar_max_height, avatar_max_width and avatar_background\n" \ |
58 "Recognizes options avatar_directory, avatar_font_height, avatar_font_width, avatar_max_height, avatar_max_width and avatar_background\n" \ |
59 "Provides command /avatar" ) |
59 "Provides command /avatar" ) |
60 static const gchar *deps[] = { "pep", NULL }; |
60 static const gchar *deps[] = { "pep", NULL }; |
61 |
61 |
62 static module_info_t info_avatar_dev = { |
62 module_info_t info_avatar = { |
63 .branch = "dev", |
63 .branch = MCABBER_BRANCH, |
64 .api = 20, |
64 .api = MCABBER_API_VERSION, |
65 .version = PROJECT_VERSION, |
65 .version = PROJECT_VERSION, |
66 .description = DESCRIPTION, |
66 .description = DESCRIPTION, |
67 .requires = deps, |
67 .requires = deps, |
68 .init = avatar_init, |
68 .init = avatar_init, |
69 .uninit = avatar_uninit, |
69 .uninit = avatar_uninit, |
70 .next = NULL, |
70 .next = NULL, |
71 }; |
|
72 |
|
73 module_info_t info_avatar_0_10_0 = { |
|
74 .branch = "0.10.0", |
|
75 .api = 1, |
|
76 .version = PROJECT_VERSION, |
|
77 .description = DESCRIPTION, |
|
78 .requires = deps, |
|
79 .init = avatar_init, |
|
80 .uninit = avatar_uninit, |
|
81 .next = &info_avatar_dev, |
|
82 }; |
|
83 |
|
84 module_info_t info_avatar = { |
|
85 .branch = "0.10.1", |
|
86 .api = 1, |
|
87 .version = PROJECT_VERSION, |
|
88 .description = DESCRIPTION, |
|
89 .requires = deps, |
|
90 .init = avatar_init, |
|
91 .uninit = avatar_uninit, |
|
92 .next = &info_avatar_0_10_0, |
|
93 }; |
71 }; |
94 |
72 |
95 // globals |
73 // globals |
96 |
74 |
97 #define NS_AVATAR_DATA ( "urn:xmpp:avatar:data" ) |
75 #define NS_AVATAR_DATA ( "urn:xmpp:avatar:data" ) |