summaryrefslogtreecommitdiffstats
path: root/basic/inc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-02-10 22:12:03 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-02-10 22:59:45 +0100
commit05d48fb71f85af3bd66ff1156b71f8d95ea7a411 (patch)
treebad4418d259fc2c8908da5839509456ee565a6e3 /basic/inc
parentadd missing modules (diff)
downloadcore-05d48fb71f85af3bd66ff1156b71f8d95ea7a411.tar.gz
core-05d48fb71f85af3bd66ff1156b71f8d95ea7a411.zip
add SbGlobal for shared static objects
Diffstat (limited to 'basic/inc')
-rw-r--r--basic/inc/basic/global.hxx45
1 files changed, 45 insertions, 0 deletions
diff --git a/basic/inc/basic/global.hxx b/basic/inc/basic/global.hxx
new file mode 100644
index 000000000000..75c5d625a99e
--- /dev/null
+++ b/basic/inc/basic/global.hxx
@@ -0,0 +1,45 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * Version: MPL 1.1 / GPLv3+ / LGPLv3+
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (the "License"); you may not use this file except in compliance with
+ * the License or as specified alternatively below. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * Major Contributor(s):
+ * Copyright (C) 2012 Markus Mohrhard <markus.mohrhard@googlemail.com> (initial developer)
+ *
+ * All Rights Reserved.
+ *
+ * For minor contributions see the git repository.
+ *
+ * Alternatively, the contents of this file may be used under the terms of
+ * either the GNU General Public License Version 3 or later (the "GPLv3+"), or
+ * the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
+ * in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
+ * instead of those above.
+ */
+
+#ifndef BASIC_SBGLOBAL_HXX
+#define BASIC_SBGLOBAL_HXX
+
+namespace utl {
+ class TransliterationWrapper;
+}
+
+class SbGlobal
+{
+ static utl::TransliterationWrapper* pTransliteration;
+public:
+ static utl::TransliterationWrapper* GetTransliteration();
+};
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */