Move files to lib

This commit is contained in:
Rico Tiongson 2019-02-07 17:24:24 +08:00
parent 5e0584de76
commit fbe40b7b24
15 changed files with 13 additions and 5 deletions

View File

@ -19,7 +19,12 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
// export all modules here
#include "index.hpp"
/**
* Make sure to include all implementation (.cpp) files below to be ready for export.
*/
#include "gesture/swipe_gesture.cpp"
#include "service/autostart.cpp"
#include "service/buffer.cpp"

View File

@ -28,12 +28,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define __COMFORTABLE_SWIPE__CONFIG__ "/usr/local/share/comfortable-swipe/comfortable-swipe.conf"
#endif /* __COMFORTABLE_SWIPE__CONFIG__ */
#include <map> // std::map
#include <string> // std::string
#include "gesture/swipe_gesture.h"
// other program header files
/**
* Make sure to include your header files here so that they can be imported by other modules.
*/
#include "gesture/swipe_gesture.h"
extern "C"
{
namespace comfortable_swipe::util

View File

@ -16,8 +16,10 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
// Compile: g++ main.cpp -std=c++11 -lxdo
#include <string> // std::string
#include "comfortable_swipe/index.cpp"
#include "lib/comfortable_swipe"
/* MAIN DRIVER FUNCTION */