[niepce] engine+rust: use the generated ffi for Library.



commit c801b80a9524e26922fdd989c71d7306a70854d9
Author: Hubert Figuière <hub figuiere net>
Date:   Thu Sep 28 23:29:16 2017 -0400

    engine+rust: use the generated ffi for Library.
    
    -remove unneeded include for library.hpp

 src/engine/db/library.hpp             |    2 --
 src/engine/importer/iimporter.hpp     |    1 -
 src/engine/library/commands.hpp       |    1 -
 src/engine/library/op.hpp             |    1 -
 src/libraryclient/clientimpl.hpp      |    1 -
 src/libraryclient/libraryclient.hpp   |    1 -
 src/niepce/notificationcenter.hpp     |    1 -
 src/niepce/ui/filmstripcontroller.cpp |    1 -
 src/niepce/ui/gridviewmodule.hpp      |    1 -
 src/niepce/ui/imageliststore.hpp      |    1 -
 src/niepce/ui/moduleshell.cpp         |    1 -
 src/niepce/ui/niepcewindow.cpp        |    1 -
 12 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/src/engine/db/library.hpp b/src/engine/db/library.hpp
index ced40bc..b9552ed 100644
--- a/src/engine/db/library.hpp
+++ b/src/engine/db/library.hpp
@@ -34,8 +34,6 @@ LibraryPtr library_new(const char *dir, uint64_t notif_id);
 
 }
 
-extern "C" bool engine_db_library_ok(const eng::Library *library);
-
 /*
   Local Variables:
   mode:c++
diff --git a/src/engine/importer/iimporter.hpp b/src/engine/importer/iimporter.hpp
index 25d9617..a8de7c2 100644
--- a/src/engine/importer/iimporter.hpp
+++ b/src/engine/importer/iimporter.hpp
@@ -25,7 +25,6 @@
 #include <functional>
 
 #include "fwk/toolkit/thumbnail.hpp"
-#include "engine/db/library.hpp"
 #include "engine/importer/importedfile.hpp"
 
 #include "rust_bindings.hpp"
diff --git a/src/engine/library/commands.hpp b/src/engine/library/commands.hpp
index 73b1910..0f3a663 100644
--- a/src/engine/library/commands.hpp
+++ b/src/engine/library/commands.hpp
@@ -21,7 +21,6 @@
 #pragma once
 
 #include "fwk/utils/files.hpp"
-#include "engine/db/library.hpp"
 
 extern "C" {
     bool cmd_list_all_keywords(eng::Library* lib);
diff --git a/src/engine/library/op.hpp b/src/engine/library/op.hpp
index e66b4ec..5ff4d21 100644
--- a/src/engine/library/op.hpp
+++ b/src/engine/library/op.hpp
@@ -25,7 +25,6 @@
 #include <functional>
 
 #include "engine/library/clienttypes.hpp"
-#include "engine/db/library.hpp"
 
 namespace eng {
 
diff --git a/src/libraryclient/clientimpl.hpp b/src/libraryclient/clientimpl.hpp
index f3adac3..7ad1b6b 100644
--- a/src/libraryclient/clientimpl.hpp
+++ b/src/libraryclient/clientimpl.hpp
@@ -24,7 +24,6 @@
 #include <string>
 
 #include "fwk/base/moniker.hpp"
-#include "engine/db/library.hpp"
 #include "engine/library/clienttypes.hpp"
 #include "engine/library/op.hpp"
 
diff --git a/src/libraryclient/libraryclient.hpp b/src/libraryclient/libraryclient.hpp
index 88cc9fb..86a9035 100644
--- a/src/libraryclient/libraryclient.hpp
+++ b/src/libraryclient/libraryclient.hpp
@@ -27,7 +27,6 @@
 #include "fwk/base/util.hpp"
 #include "engine/library/clienttypes.hpp"
 #include "engine/library/thumbnailcache.hpp"
-#include "engine/db/library.hpp"
 #include "engine/db/librarytypes.hpp"
 
 namespace fwk {
diff --git a/src/niepce/notificationcenter.hpp b/src/niepce/notificationcenter.hpp
index 7afe4c8..e4c156d 100644
--- a/src/niepce/notificationcenter.hpp
+++ b/src/niepce/notificationcenter.hpp
@@ -25,7 +25,6 @@
 #include <sigc++/signal.h>
 
 #include "fwk/toolkit/notificationcenter.hpp"
-#include "engine/db/library.hpp"
 #include "engine/library/notification.hpp"
 #include "engine/library/thumbnailnotification.hpp"
 
diff --git a/src/niepce/ui/filmstripcontroller.cpp b/src/niepce/ui/filmstripcontroller.cpp
index 9173caa..c6c74cd 100644
--- a/src/niepce/ui/filmstripcontroller.cpp
+++ b/src/niepce/ui/filmstripcontroller.cpp
@@ -21,7 +21,6 @@
 #include <gtkmm/iconview.h>
 
 #include "niepce/notifications.hpp"
-#include "engine/db/library.hpp"
 #include "engine/library/thumbnailnotification.hpp"
 #include "fwk/base/debug.hpp"
 
diff --git a/src/niepce/ui/gridviewmodule.hpp b/src/niepce/ui/gridviewmodule.hpp
index 3de4480..9948ebe 100644
--- a/src/niepce/ui/gridviewmodule.hpp
+++ b/src/niepce/ui/gridviewmodule.hpp
@@ -29,7 +29,6 @@
 #include <gtkmm/treestore.h>
 
 #include "fwk/base/propertybag.hpp"
-#include "engine/db/library.hpp"
 #include "fwk/toolkit/widgets/imagegridview.hpp"
 #include "niepce/ui/ilibrarymodule.hpp"
 #include "niepce/ui/imoduleshell.hpp"
diff --git a/src/niepce/ui/imageliststore.hpp b/src/niepce/ui/imageliststore.hpp
index 396d712..ad4a399 100644
--- a/src/niepce/ui/imageliststore.hpp
+++ b/src/niepce/ui/imageliststore.hpp
@@ -28,7 +28,6 @@
 
 #include "fwk/toolkit/controller.hpp"
 #include "engine/db/libfile.hpp"
-#include "engine/db/library.hpp"
 #include "engine/library/notification.hpp"
 #include "engine/library/thumbnailnotification.hpp"
 #include "libraryclient/libraryclient.hpp"
diff --git a/src/niepce/ui/moduleshell.cpp b/src/niepce/ui/moduleshell.cpp
index a3b3bee..3d37cc4 100644
--- a/src/niepce/ui/moduleshell.cpp
+++ b/src/niepce/ui/moduleshell.cpp
@@ -26,7 +26,6 @@
 
 #include "fwk/base/debug.hpp"
 #include "niepce/notifications.hpp"
-#include "engine/db/library.hpp"
 #include "engine/db/libfile.hpp"
 #include "fwk/toolkit/application.hpp"
 #include "fwk/toolkit/gtkutils.hpp"
diff --git a/src/niepce/ui/niepcewindow.cpp b/src/niepce/ui/niepcewindow.cpp
index 6675cf0..e7fe0a9 100644
--- a/src/niepce/ui/niepcewindow.cpp
+++ b/src/niepce/ui/niepcewindow.cpp
@@ -38,7 +38,6 @@
 #include "fwk/toolkit/notificationcenter.hpp"
 #include "fwk/toolkit/configdatabinder.hpp"
 #include "fwk/toolkit/undo.hpp"
-#include "engine/db/library.hpp"
 #include "engine/importer/iimporter.hpp"
 #include "libraryclient/uidataprovider.hpp"
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]