Reorder patern match methods, "ERE" first, "LIKE", "exact" last
[mediadatabase.git] / gtk / helper.h
blobc559f56ed88a73060facaeda337a746d52194935
1 /* -*- Mode: C ; c-basic-offset: 2 -*- */
2 /*****************************************************************************
4 * $Id: helper.h,v 1.3 2004/09/01 05:03:51 nedko Exp $
6 * DESCRIPTION:
7 *
9 * NOTES:
12 *****************************************************************************/
14 #ifndef HELPER_H__EE98126E_9844_493D_9BB0_1BD50E70379C__INCLUDED
15 #define HELPER_H__EE98126E_9844_493D_9BB0_1BD50E70379C__INCLUDED
17 #define MAX_SIZE_DESCRIPTION 1024
19 struct size_units
21 mediadb_uint nUnitSize; /* Unit size, in bytes */
22 const char *pszUnitName;
23 const char *pszUnitsName;
26 extern struct size_units g_arrSizeUnits[];
28 void
29 get_size_description(
30 mediadb_uint nSize,
31 char *pSizeStringBuffer);
33 void
34 display_error_message_mediadb(GtkWindow *pWindow);
36 void
37 display_error_message_string(GtkWindow *pWindow, const char *pszMessage);
39 #endif /* #ifndef HELPER_H__EE98126E_9844_493D_9BB0_1BD50E70379C__INCLUDED */
41 /*****************************************************************************
43 * Modifications log:
45 * !!! WARNING !!! Following lines are automatically updated by the CVS system.
47 * $Log: helper.h,v $
48 * Revision 1.3 2004/09/01 05:03:51 nedko
49 * Supply window to display_error_message_xxx()
50 * Global "units" array.
52 * Revision 1.2 2004/09/01 00:52:50 nedko
53 * Add helper functions for displaying messages.
55 * Revision 1.1 2004/05/21 23:43:38 nedko
56 * Implement media window.
58 *****************************************************************************/