summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-10-29 20:12:36 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-10-30 10:36:52 -0700
commit391172240ae00e9729ddb9db1b2cd50be3feb51b (patch)
treea54b412003ae65a0658ed332bd0525a6e029fe74
parentd3a8288ad5a25db502cb0c782b72c3242f3f30e9 (diff)
downloadsubsurface-391172240ae00e9729ddb9db1b2cd50be3feb51b.tar.gz
Facebook plugin skeleton
Just to see if a plugin will compile. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--desktop-widgets/CMakeLists.txt1
-rw-r--r--desktop-widgets/plugins/CMakeLists.txt1
-rw-r--r--desktop-widgets/plugins/facebook/CMakeLists.txt5
-rw-r--r--desktop-widgets/plugins/facebook/facebook_integration.cpp0
-rw-r--r--desktop-widgets/plugins/facebook/facebook_integration.h0
5 files changed, 7 insertions, 0 deletions
diff --git a/desktop-widgets/CMakeLists.txt b/desktop-widgets/CMakeLists.txt
index 07a8f3709..62be916cc 100644
--- a/desktop-widgets/CMakeLists.txt
+++ b/desktop-widgets/CMakeLists.txt
@@ -13,6 +13,7 @@ include_directories(.
)
add_subdirectory(preferences)
+add_subdirectory(plugins)
# the interface, in C++
set(SUBSURFACE_INTERFACE
diff --git a/desktop-widgets/plugins/CMakeLists.txt b/desktop-widgets/plugins/CMakeLists.txt
new file mode 100644
index 000000000..f424e172e
--- /dev/null
+++ b/desktop-widgets/plugins/CMakeLists.txt
@@ -0,0 +1 @@
+add_subdirectory(facebook) \ No newline at end of file
diff --git a/desktop-widgets/plugins/facebook/CMakeLists.txt b/desktop-widgets/plugins/facebook/CMakeLists.txt
new file mode 100644
index 000000000..cccfec1f5
--- /dev/null
+++ b/desktop-widgets/plugins/facebook/CMakeLists.txt
@@ -0,0 +1,5 @@
+set(FACEBOOK_PLUGIN_SRCS facebook_integration.cpp)
+
+add_library(facebook_integration ${FACEBOOK_PLUGIN_SRCS})
+
+target_link_libraries(facebook_integration subsurface_core ${QT_LIBRARIES})
diff --git a/desktop-widgets/plugins/facebook/facebook_integration.cpp b/desktop-widgets/plugins/facebook/facebook_integration.cpp
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/desktop-widgets/plugins/facebook/facebook_integration.cpp
diff --git a/desktop-widgets/plugins/facebook/facebook_integration.h b/desktop-widgets/plugins/facebook/facebook_integration.h
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/desktop-widgets/plugins/facebook/facebook_integration.h