StickerDatabase: convert the struct name to upper case

This commit is contained in:
Max Kellermann
2015-01-28 19:33:56 +01:00
parent 822ac7b100
commit 593bb5a8a7
7 changed files with 19 additions and 19 deletions

View File

@@ -49,7 +49,7 @@
class Error;
class Path;
struct sticker;
struct Sticker;
/**
* Opens the sticker database.
@@ -111,7 +111,7 @@ sticker_delete_value(const char *type, const char *uri, const char *name,
* @param sticker the sticker object to be freed
*/
void
sticker_free(sticker *sticker);
sticker_free(Sticker *sticker);
/**
* Determines a single value in a sticker.
@@ -122,7 +122,7 @@ sticker_free(sticker *sticker);
*/
gcc_pure
const char *
sticker_get_value(const sticker &sticker, const char *name);
sticker_get_value(const Sticker &sticker, const char *name);
/**
* Iterates over all sticker items in a sticker.
@@ -132,7 +132,7 @@ sticker_get_value(const sticker &sticker, const char *name);
* @param user_data an opaque pointer for the callback function
*/
void
sticker_foreach(const sticker &sticker,
sticker_foreach(const Sticker &sticker,
void (*func)(const char *name, const char *value,
void *user_data),
void *user_data);
@@ -144,7 +144,7 @@ sticker_foreach(const sticker &sticker,
* @param uri the URI of the resource, e.g. the song path
* @return a sticker object, or nullptr on error or if there is no sticker
*/
sticker *
Sticker *
sticker_load(const char *type, const char *uri,
Error &error);