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
9b629f29
Kaydet (Commit)
9b629f29
authored
Kas 01, 2013
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add (dummy) touch_ui_dialog_modal() implementations
Change-Id: I12fde9cc7180118ade39b7a037d05e8793bd1c12
üst
354c1a99
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
61 additions
and
0 deletions
+61
-0
dummies.cxx
android/experimental/LibreOffice4Android/dummies.cxx
+31
-0
dummies.cxx
android/experimental/desktop/dummies.cxx
+30
-0
No files found.
android/experimental/LibreOffice4Android/dummies.cxx
Dosyayı görüntüle @
9b629f29
...
@@ -11,6 +11,8 @@
...
@@ -11,6 +11,8 @@
// that the LO layer calls. As this experimental Android app doesn't
// that the LO layer calls. As this experimental Android app doesn't
// handle any of that, these do nothing.
// handle any of that, these do nothing.
#include <android/log.h>
#include <touch/touch.h>
#include <touch/touch.h>
extern
"C"
extern
"C"
...
@@ -41,4 +43,33 @@ touch_ui_selection_none()
...
@@ -41,4 +43,33 @@ touch_ui_selection_none()
{
{
}
}
static
const
char
*
dialog_kind_to_string
(
MLODialogKind
kind
)
{
switch
(
kind
)
{
case
MLODialogMessage
:
return
"MSG"
;
case
MLODialogInformation
:
return
"INF"
;
case
MLODialogWarning
:
return
"WRN"
;
case
MLODialogError
:
return
"ERR"
;
case
MLODialogQuery
:
return
"QRY"
;
default
:
return
"WTF"
;
}
}
extern
"C"
__attribute__
((
visibility
(
"default"
)))
MLODialogResult
touch_ui_dialog_modal
(
MLODialogKind
kind
,
const
char
*
message
)
{
__android_log_print
(
ANDROID_LOG_INFO
,
"===> %s: %s"
,
dialog_kind_to_string
(
kind
),
message
);
return
MLODialogOK
;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
android/experimental/desktop/dummies.cxx
Dosyayı görüntüle @
9b629f29
...
@@ -11,6 +11,8 @@
...
@@ -11,6 +11,8 @@
// that the LO layer calls. As this experimental Android app doesn't
// that the LO layer calls. As this experimental Android app doesn't
// handle any of that, these do nothing.
// handle any of that, these do nothing.
#include <android/log.h>
#include <touch/touch.h>
#include <touch/touch.h>
extern
"C"
extern
"C"
...
@@ -41,4 +43,32 @@ touch_ui_selection_none()
...
@@ -41,4 +43,32 @@ touch_ui_selection_none()
{
{
}
}
static
const
char
*
dialog_kind_to_string
(
MLODialogKind
kind
)
{
switch
(
kind
)
{
case
MLODialogMessage
:
return
"MSG"
;
case
MLODialogInformation
:
return
"INF"
;
case
MLODialogWarning
:
return
"WRN"
;
case
MLODialogError
:
return
"ERR"
;
case
MLODialogQuery
:
return
"QRY"
;
default
:
return
"WTF"
;
}
}
extern
"C"
__attribute__
((
visibility
(
"default"
)))
MLODialogResult
touch_ui_dialog_modal
(
MLODialogKind
kind
,
const
char
*
message
)
{
__android_log_print
(
ANDROID_LOG_INFO
,
"===> %s: %s"
,
dialog_kind_to_string
(
kind
),
message
);
return
MLODialogOK
;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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