Minor fixes.
[mediadatabase.git] / libfrontend / helper.h
blobc300b49a73595ab2146416b92b8901c0ab998800
1 /* -*- Mode: C ; c-basic-offset: 3 -*- */
2 /*****************************************************************************
4 * $Id: helper.h,v 1.1 2004/10/03 23:33:55 nedko Exp $
6 * DESCRIPTION:
7 *
9 * NOTES:
12 *****************************************************************************/
14 #ifndef HELPER_H__34E38ED1_AE06_4D91_95B2_F6676BDCFFCA__INCLUDED
15 #define HELPER_H__34E38ED1_AE06_4D91_95B2_F6676BDCFFCA__INCLUDED
17 #include "../result.h"
18 #include "../libdb/libdb.h"
20 #define MAX_SIZE_DESCRIPTION 1024
22 struct size_units
24 mediadb_uint nUnitSize; /* Unit size, in bytes */
25 const char *pszUnitName;
26 const char *pszUnitsName;
29 extern struct size_units g_arrSizeUnits[];
31 void
32 get_size_description(
33 mediadb_uint nSize,
34 char *pSizeStringBuffer);
36 #endif /* #ifndef HELPER_H__34E38ED1_AE06_4D91_95B2_F6676BDCFFCA__INCLUDED */
38 /*****************************************************************************
40 * Modifications log:
42 * !!! WARNING !!! Following lines are automatically updated by the CVS system.
44 * $Log: helper.h,v $
45 * Revision 1.1 2004/10/03 23:33:55 nedko
46 * Move size helpers from gtk frontend
48 *****************************************************************************/