[libchamplainmm] Location: Create new Location interface
- From: Juan R. Garcia Blanco <juanrgar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libchamplainmm] Location: Create new Location interface
- Date: Sun, 2 Mar 2014 16:36:27 +0000 (UTC)
commit 9d0fdcba36e39799ab736cc975008796cc19d720
Author: Juan R. García Blanco <juanrgar gmail com>
Date: Sun Mar 2 17:31:31 2014 +0100
Location: Create new Location interface
* Add declaration of Location interface.
champlain/champlainmm/.gitignore | 1 +
champlain/src/filelist.am | 1 +
champlain/src/location.ccg | 23 +++++++++++++++++++++++
champlain/src/location.hg | 37 +++++++++++++++++++++++++++++++++++++
4 files changed, 62 insertions(+), 0 deletions(-)
---
diff --git a/champlain/champlainmm/.gitignore b/champlain/champlainmm/.gitignore
index e720592..aa66446 100644
--- a/champlain/champlainmm/.gitignore
+++ b/champlain/champlainmm/.gitignore
@@ -1,6 +1,7 @@
defines.*
label.*
layer.*
+location.*
map-source-desc.*
map-source-factory.*
map-source.*
diff --git a/champlain/src/filelist.am b/champlain/src/filelist.am
index fc9e546..b3ae8f1 100644
--- a/champlain/src/filelist.am
+++ b/champlain/src/filelist.am
@@ -13,6 +13,7 @@ files_hg = \
marker.hg \
defines.hg \
layer.hg \
+ location.hg \
map-source-desc.hg \
map-source-factory.hg \
map-source.hg \
diff --git a/champlain/src/location.ccg b/champlain/src/location.ccg
new file mode 100644
index 0000000..98e7f82
--- /dev/null
+++ b/champlain/src/location.ccg
@@ -0,0 +1,23 @@
+/* Copyright (c) 2014 Juan R. García Blanco <juanrgar gmail com>
+ *
+ * This file is part of libchamplainmm.
+ *
+ * libchamplainmm is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 2.1 of the License,
+ * or (at your option) any later version.
+ *
+ * libchamplainmm is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#include <champlain/champlain.h>
+
+namespace Champlain
+{
+} // namespace Champlain
diff --git a/champlain/src/location.hg b/champlain/src/location.hg
new file mode 100644
index 0000000..7e05004
--- /dev/null
+++ b/champlain/src/location.hg
@@ -0,0 +1,37 @@
+/* Copyright (c) 2014 Juan R. García Blanco <juanrgar gmail com>
+ *
+ * This file is part of libchamplainmm.
+ *
+ * libchamplainmm is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation, either version 2.1 of the License,
+ * or (at your option) any later version.
+ *
+ * libchamplainmm is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+_DEFS(champlainmm,champlain)
+_PINCLUDE(glibmm/private/interface_p.h)
+
+#ifndef DOXYGEN_SHOULD_SKIP_THIS
+extern "C"
+{
+typedef struct _ChamplainLocationIface ChamplainLocationIface;
+}
+#endif /* DOXYGEN_SHOULD_SKIP_THIS */
+
+namespace Champlain
+{
+class Location : public Glib::Interface
+{
+ _CLASS_INTERFACE(Location, ChamplainLocation, CHAMPLAIN_LOCATION, ChamplainLocationIface)
+
+ // TODO
+};
+} // namespace Champlain
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]