Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
9c69984f
Kaydet (Commit)
9c69984f
authored
Nis 28, 2012
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Bin the unused vague SAL_IMPLEMENT_MAIN_WITH_GUI idea
Change-Id: I66dae812f3aea0534907316a7fb41b35ad37be48
üst
df92f499
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
20 deletions
+3
-20
main.h
sal/inc/sal/main.h
+0
-17
salmain.cxx
vcl/source/salmain/salmain.cxx
+1
-1
svdem.cxx
vcl/workben/svdem.cxx
+1
-1
vcldemo.cxx
vcl/workben/vcldemo.cxx
+1
-1
No files found.
sal/inc/sal/main.h
Dosyayı görüntüle @
9c69984f
...
@@ -63,8 +63,6 @@ __attribute__ ((visibility("default"))) void lo_main(int argc, char **argv) \
...
@@ -63,8 +63,6 @@ __attribute__ ((visibility("default"))) void lo_main(int argc, char **argv) \
sal_detail_deinitialize(); \
sal_detail_deinitialize(); \
}
}
#define SAL_MAIN_WITH_GUI_IMPL SAL_MAIN_IMPL
#else
#else
#define SAL_MAIN_WITH_ARGS_IMPL \
#define SAL_MAIN_WITH_ARGS_IMPL \
...
@@ -87,8 +85,6 @@ int SAL_CALL main(int argc, char ** argv) \
...
@@ -87,8 +85,6 @@ int SAL_CALL main(int argc, char ** argv) \
return ret; \
return ret; \
}
}
#define SAL_MAIN_WITH_GUI_IMPL SAL_MAIN_IMPL
#endif
#endif
...
@@ -149,19 +145,6 @@ int WINAPI WinMain( HINSTANCE _hinst, HINSTANCE _dummy, char* _cmdline, int _nsh
...
@@ -149,19 +145,6 @@ int WINAPI WinMain( HINSTANCE _hinst, HINSTANCE _dummy, char* _cmdline, int _nsh
SAL_WIN_WinMain \
SAL_WIN_WinMain \
static int SAL_CALL sal_main(void)
static int SAL_CALL sal_main(void)
/* Use SAL_IMPLEMENT_MAIN_WITH_GUI in programs that actually have a
* VCL GUI. The difference is meaningful only for iOS support, which
* of course is a highly experimental work in progress. So actually,
* don't bother, just let developers who care for iOS take care of it
* when/if necessary.
*/
#define SAL_IMPLEMENT_MAIN_WITH_GUI() \
static int SAL_CALL sal_main(void); \
SAL_MAIN_WITH_GUI_IMPL \
SAL_WIN_WinMain \
static int SAL_CALL sal_main(void)
/*
/*
"How to use" Examples:
"How to use" Examples:
...
...
vcl/source/salmain/salmain.cxx
Dosyayı görüntüle @
9c69984f
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
#include "salinst.hxx"
#include "salinst.hxx"
SAL_IMPLEMENT_MAIN
_WITH_GUI
()
{
SAL_IMPLEMENT_MAIN
()
{
tools
::
extendApplicationEnvironment
();
tools
::
extendApplicationEnvironment
();
return
SVMain
();
return
SVMain
();
}
}
...
...
vcl/workben/svdem.cxx
Dosyayı görüntüle @
9c69984f
...
@@ -49,7 +49,7 @@ void Main();
...
@@ -49,7 +49,7 @@ void Main();
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
SAL_IMPLEMENT_MAIN
_WITH_GUI
()
SAL_IMPLEMENT_MAIN
()
{
{
tools
::
extendApplicationEnvironment
();
tools
::
extendApplicationEnvironment
();
...
...
vcl/workben/vcldemo.cxx
Dosyayı görüntüle @
9c69984f
...
@@ -52,7 +52,7 @@ void Main();
...
@@ -52,7 +52,7 @@ void Main();
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
SAL_IMPLEMENT_MAIN
_WITH_GUI
()
SAL_IMPLEMENT_MAIN
()
{
{
tools
::
extendApplicationEnvironment
();
tools
::
extendApplicationEnvironment
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment