summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk/fpicker/SalGtkPicker.hxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2011-11-07 14:01:16 +0000
committerMichael Meeks <michael.meeks@suse.com>2011-11-07 14:19:35 +0000
commit6de32a1afc947e71754f4266d5c167eccbc8f78b (patch)
tree5aabd10edf675cd4a2a1e43f51b40cfab194dc04 /vcl/unx/gtk/fpicker/SalGtkPicker.hxx
parent6aa51640706ca332e6439e6097cc81a2b1dbb275 (diff)
gtk: cleanup resource provider and associated lifecycle issue
Diffstat (limited to 'vcl/unx/gtk/fpicker/SalGtkPicker.hxx')
-rw-r--r--vcl/unx/gtk/fpicker/SalGtkPicker.hxx14
1 files changed, 10 insertions, 4 deletions
diff --git a/vcl/unx/gtk/fpicker/SalGtkPicker.hxx b/vcl/unx/gtk/fpicker/SalGtkPicker.hxx
index 760021d36b52..a4fe68f98309 100644
--- a/vcl/unx/gtk/fpicker/SalGtkPicker.hxx
+++ b/vcl/unx/gtk/fpicker/SalGtkPicker.hxx
@@ -49,9 +49,13 @@
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
-//----------------------------------------------------------
-// class declaration
-//----------------------------------------------------------
+#define FOLDERPICKER_TITLE 500
+#define FOLDER_PICKER_DEF_DESCRIPTION 501
+#define FILE_PICKER_TITLE_OPEN 502
+#define FILE_PICKER_TITLE_SAVE 503
+#define FILE_PICKER_FILE_TYPE 504
+#define FILE_PICKER_OVERWRITE 505
+#define FILE_PICKER_ALLFORMATS 506
class SalGtkPicker
{
@@ -73,9 +77,11 @@ class SalGtkPicker
rtl::OUString uritounicode(const gchar *pIn);
rtl::OString unicodetouri(const rtl::OUString &rURL);
- // to instanciate own services
+ // to instantiate own services
::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > m_xContext;
::com::sun::star::uno::Reference< com::sun::star::uno::XInterface > createInstance( const rtl::OUString &rName );
+
+ rtl::OUString getResString( sal_Int32 aId );
private:
void setGtkLanguage();
};