2 * openfile.h: File open / save interfaces
5 * Moonlight List (moonlight-list@lists.ximian.com)
7 * Copyright 2007, 2009 Novell, Inc. (http://www.novell.com)
9 * See the LICENSE file included with the distribution for details.
13 #ifndef __OPENFILE_H__
14 #define __OPENFILE_H__
21 #include <glib/gstdio.h>
26 #include "deployment.h"
30 #define MOONLIGHT_MINIMUM_FILE_ENTRY_COST 1024
31 #define MOONLIGHT_FILE_SIZE_MASK (MOONLIGHT_MINIMUM_FILE_ENTRY_COST - 1)
33 /* @GeneratePInvoke */
34 char **open_file_dialog_show (const char *title
, bool multsel
, const char *filter
, int idx
);
36 /* @GeneratePInvoke */
37 char *save_file_dialog_show (const char *title
, const char *filter
, int idx
);
39 // NOTE: this is used from 'mscorlib.dll' System.IO.IsolatedStorage/MoonIsolatedStorageFile.cs
40 gboolean
isolated_storage_increase_quota_to (const char *primary_text
, const char* secondary_text
);
42 // NOTE: this is used from 'mscorlib.dll' System.IO.IsolatedStorage/MoonIsolatedStorage.cs
43 long isolated_storage_get_current_usage (const char* root
);