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
c95393cb
Kaydet (Commit)
c95393cb
authored
Eki 23, 2013
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add dummy implementations of the UI layer callbacks now required
Change-Id: I2caaac66758863b0f384df13ab30526f21be1e8d
üst
e165bf2a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
90 additions
and
2 deletions
+90
-2
Makefile.shared
android/Bootstrap/Makefile.shared
+2
-2
dummies.cxx
android/experimental/LibreOffice4Android/dummies.cxx
+44
-0
dummies.cxx
android/experimental/desktop/dummies.cxx
+44
-0
No files found.
android/Bootstrap/Makefile.shared
Dosyayı görüntüle @
c95393cb
...
...
@@ -106,9 +106,9 @@ WHOLELIBS = \
-Wl
,--no-whole-archive
$(OBJLOCAL)/liblo-native-code.so
:
$(wildcard $(OUTDIR)/lib/lib*.a) native-code.cxx
$(OBJLOCAL)/liblo-native-code.so
:
$(wildcard $(OUTDIR)/lib/lib*.a) native-code.cxx
dummies.cxx
mkdir
-p
$(OBJLOCAL)
$(CXX)
-Wl
,--gc-sections
-Wl
,--version-script
=
../../Bootstrap/version.map
-Wl
,--no-keep-files-mapped
-Wl
,--no-undefined
-DANDROID
-DDISABLE_DYNLOADING
-shared
-o
$(OBJLOCAL)
/liblo-native-code.so
-I
$(
SRCDIR)
/include
-I
$(OUTDIR)
/inc native-code
.cxx
-L
$(OUTDIR)
/lib
-L
$(INSTDIR)
/
$(LIBO_LIB_FOLDER)
$(WHOLELIBS)
$(LIBS)
-lgnustl_static
-landroid
-ljnigraphics
-llog
-lz
$(CXX)
-Wl
,--gc-sections
-Wl
,--version-script
=
../../Bootstrap/version.map
-Wl
,--no-keep-files-mapped
-Wl
,--no-undefined
-DANDROID
-DDISABLE_DYNLOADING
-shared
-o
$(OBJLOCAL)
/liblo-native-code.so
-I
$(
BUILDDIR)
/config_host
-I
$(SRCDIR)
/include
-I
$(OUTDIR)
/inc native-code.cxx dummies
.cxx
-L
$(OUTDIR)
/lib
-L
$(INSTDIR)
/
$(LIBO_LIB_FOLDER)
$(WHOLELIBS)
$(LIBS)
-lgnustl_static
-landroid
-ljnigraphics
-llog
-lz
$(SODEST)/liblo-native-code.so
:
$(OBJLOCAL)/liblo-native-code.so
mkdir
-p
$(SODEST)
...
...
android/experimental/LibreOffice4Android/dummies.cxx
0 → 100644
Dosyayı görüntüle @
c95393cb
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
// Dummy implementations of the callback functions in the UI layer
// that the LO layer calls. As this experimental Android app doesn't
// handle any of that, these do nothing.
#include <touch/touch.h>
extern
"C"
__attribute__
((
visibility
(
"default"
)))
void
touch_ui_selection_start
(
MLOSelectionKind
kind
,
const
void
*
documentHandle
,
MLORect
*
rectangles
,
int
rectangleCount
,
void
*
preview
)
{
}
extern
"C"
__attribute__
((
visibility
(
"default"
)))
void
touch_ui_selection_resize_done
(
bool
success
,
const
void
*
documentHandle
,
MLORect
*
rectangles
,
int
rectangleCount
)
{
}
extern
"C"
__attribute__
((
visibility
(
"default"
)))
void
touch_ui_selection_none
()
{
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
android/experimental/desktop/dummies.cxx
0 → 100644
Dosyayı görüntüle @
c95393cb
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
// Dummy implementations of the callback functions in the UI layer
// that the LO layer calls. As this experimental Android app doesn't
// handle any of that, these do nothing.
#include <touch/touch.h>
extern
"C"
__attribute__
((
visibility
(
"default"
)))
void
touch_ui_selection_start
(
MLOSelectionKind
kind
,
const
void
*
documentHandle
,
MLORect
*
rectangles
,
int
rectangleCount
,
void
*
preview
)
{
}
extern
"C"
__attribute__
((
visibility
(
"default"
)))
void
touch_ui_selection_resize_done
(
bool
success
,
const
void
*
documentHandle
,
MLORect
*
rectangles
,
int
rectangleCount
)
{
}
extern
"C"
__attribute__
((
visibility
(
"default"
)))
void
touch_ui_selection_none
()
{
}
/* 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