diff --git a/.gitignore b/.gitignore index 96586cd..dbce6af 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ -objects*/ +main/objects*/ +daemon/objects*/ +Calendar.pld diff --git a/daemon/src/CalendarDaemon.cpp b/daemon/src/CalendarDaemon.cpp new file mode 100644 index 0000000..09c7a84 --- /dev/null +++ b/daemon/src/CalendarDaemon.cpp @@ -0,0 +1,11 @@ +/* + * Copyright 2018, Harshit Sharma + * All rights reserved. Distributed under the terms of the MIT license. + */ + + +int main() +{ + return 0; +} + diff --git a/Makefile b/main/Makefile similarity index 100% rename from Makefile rename to main/Makefile diff --git a/locales/ca.catkeys b/main/locales/ca.catkeys similarity index 100% rename from locales/ca.catkeys rename to main/locales/ca.catkeys diff --git a/locales/cs.catkeys b/main/locales/cs.catkeys similarity index 100% rename from locales/cs.catkeys rename to main/locales/cs.catkeys diff --git a/locales/de.catkeys b/main/locales/de.catkeys similarity index 100% rename from locales/de.catkeys rename to main/locales/de.catkeys diff --git a/locales/en.catkeys b/main/locales/en.catkeys similarity index 100% rename from locales/en.catkeys rename to main/locales/en.catkeys diff --git a/locales/en_GB.catkeys b/main/locales/en_GB.catkeys similarity index 100% rename from locales/en_GB.catkeys rename to main/locales/en_GB.catkeys diff --git a/locales/eo.catkeys b/main/locales/eo.catkeys similarity index 100% rename from locales/eo.catkeys rename to main/locales/eo.catkeys diff --git a/locales/es.catkeys b/main/locales/es.catkeys similarity index 100% rename from locales/es.catkeys rename to main/locales/es.catkeys diff --git a/locales/fur.catkeys b/main/locales/fur.catkeys similarity index 100% rename from locales/fur.catkeys rename to main/locales/fur.catkeys diff --git a/locales/it.catkeys b/main/locales/it.catkeys similarity index 100% rename from locales/it.catkeys rename to main/locales/it.catkeys diff --git a/locales/ro.catkeys b/main/locales/ro.catkeys similarity index 100% rename from locales/ro.catkeys rename to main/locales/ro.catkeys diff --git a/locales/sv.catkeys b/main/locales/sv.catkeys similarity index 100% rename from locales/sv.catkeys rename to main/locales/sv.catkeys diff --git a/locales/tr.catkeys b/main/locales/tr.catkeys similarity index 100% rename from locales/tr.catkeys rename to main/locales/tr.catkeys diff --git a/src/App.cpp b/main/src/App.cpp similarity index 100% rename from src/App.cpp rename to main/src/App.cpp diff --git a/src/App.h b/main/src/App.h similarity index 100% rename from src/App.h rename to main/src/App.h diff --git a/src/CalendarMenuWindow.cpp b/main/src/CalendarMenuWindow.cpp similarity index 100% rename from src/CalendarMenuWindow.cpp rename to main/src/CalendarMenuWindow.cpp diff --git a/src/CalendarMenuWindow.h b/main/src/CalendarMenuWindow.h similarity index 100% rename from src/CalendarMenuWindow.h rename to main/src/CalendarMenuWindow.h diff --git a/src/CalendarView.cpp b/main/src/CalendarView.cpp similarity index 100% rename from src/CalendarView.cpp rename to main/src/CalendarView.cpp diff --git a/src/CalendarView.h b/main/src/CalendarView.h similarity index 100% rename from src/CalendarView.h rename to main/src/CalendarView.h diff --git a/src/CategoryEditWindow.cpp b/main/src/CategoryEditWindow.cpp similarity index 100% rename from src/CategoryEditWindow.cpp rename to main/src/CategoryEditWindow.cpp diff --git a/src/CategoryEditWindow.h b/main/src/CategoryEditWindow.h similarity index 100% rename from src/CategoryEditWindow.h rename to main/src/CategoryEditWindow.h diff --git a/src/CategoryListItem.cpp b/main/src/CategoryListItem.cpp similarity index 100% rename from src/CategoryListItem.cpp rename to main/src/CategoryListItem.cpp diff --git a/src/CategoryListItem.h b/main/src/CategoryListItem.h similarity index 100% rename from src/CategoryListItem.h rename to main/src/CategoryListItem.h diff --git a/src/CategoryWindow.cpp b/main/src/CategoryWindow.cpp similarity index 100% rename from src/CategoryWindow.cpp rename to main/src/CategoryWindow.cpp diff --git a/src/CategoryWindow.h b/main/src/CategoryWindow.h similarity index 100% rename from src/CategoryWindow.h rename to main/src/CategoryWindow.h diff --git a/src/ColorPreview.cpp b/main/src/ColorPreview.cpp similarity index 100% rename from src/ColorPreview.cpp rename to main/src/ColorPreview.cpp diff --git a/src/ColorPreview.h b/main/src/ColorPreview.h similarity index 100% rename from src/ColorPreview.h rename to main/src/ColorPreview.h diff --git a/src/DateHeaderButton.cpp b/main/src/DateHeaderButton.cpp similarity index 100% rename from src/DateHeaderButton.cpp rename to main/src/DateHeaderButton.cpp diff --git a/src/DateHeaderButton.h b/main/src/DateHeaderButton.h similarity index 100% rename from src/DateHeaderButton.h rename to main/src/DateHeaderButton.h diff --git a/src/EventListItem.cpp b/main/src/EventListItem.cpp similarity index 100% rename from src/EventListItem.cpp rename to main/src/EventListItem.cpp diff --git a/src/EventListItem.h b/main/src/EventListItem.h similarity index 100% rename from src/EventListItem.h rename to main/src/EventListItem.h diff --git a/src/EventListView.cpp b/main/src/EventListView.cpp similarity index 100% rename from src/EventListView.cpp rename to main/src/EventListView.cpp diff --git a/src/EventListView.h b/main/src/EventListView.h similarity index 100% rename from src/EventListView.h rename to main/src/EventListView.h diff --git a/src/EventTabView.cpp b/main/src/EventTabView.cpp similarity index 100% rename from src/EventTabView.cpp rename to main/src/EventTabView.cpp diff --git a/src/EventTabView.h b/main/src/EventTabView.h similarity index 100% rename from src/EventTabView.h rename to main/src/EventTabView.h diff --git a/src/EventWindow.cpp b/main/src/EventWindow.cpp similarity index 100% rename from src/EventWindow.cpp rename to main/src/EventWindow.cpp diff --git a/src/EventWindow.h b/main/src/EventWindow.h similarity index 100% rename from src/EventWindow.h rename to main/src/EventWindow.h diff --git a/src/MainView.cpp b/main/src/MainView.cpp similarity index 100% rename from src/MainView.cpp rename to main/src/MainView.cpp diff --git a/src/MainView.h b/main/src/MainView.h similarity index 100% rename from src/MainView.h rename to main/src/MainView.h diff --git a/src/MainWindow.cpp b/main/src/MainWindow.cpp similarity index 100% rename from src/MainWindow.cpp rename to main/src/MainWindow.cpp diff --git a/src/MainWindow.h b/main/src/MainWindow.h similarity index 100% rename from src/MainWindow.h rename to main/src/MainWindow.h diff --git a/src/NotificationLoop.cpp b/main/src/NotificationLoop.cpp similarity index 100% rename from src/NotificationLoop.cpp rename to main/src/NotificationLoop.cpp diff --git a/src/PreferenceWindow.cpp b/main/src/PreferenceWindow.cpp similarity index 100% rename from src/PreferenceWindow.cpp rename to main/src/PreferenceWindow.cpp diff --git a/src/PreferenceWindow.h b/main/src/PreferenceWindow.h similarity index 100% rename from src/PreferenceWindow.h rename to main/src/PreferenceWindow.h diff --git a/src/Preferences.cpp b/main/src/Preferences.cpp similarity index 100% rename from src/Preferences.cpp rename to main/src/Preferences.cpp diff --git a/src/Preferences.h b/main/src/Preferences.h similarity index 100% rename from src/Preferences.h rename to main/src/Preferences.h diff --git a/src/SidePanelView.cpp b/main/src/SidePanelView.cpp similarity index 100% rename from src/SidePanelView.cpp rename to main/src/SidePanelView.cpp diff --git a/src/SidePanelView.h b/main/src/SidePanelView.h similarity index 100% rename from src/SidePanelView.h rename to main/src/SidePanelView.h diff --git a/src/calendar.rdef b/main/src/calendar.rdef similarity index 100% rename from src/calendar.rdef rename to main/src/calendar.rdef diff --git a/src/db/QueryDBManager.cpp b/main/src/db/QueryDBManager.cpp similarity index 100% rename from src/db/QueryDBManager.cpp rename to main/src/db/QueryDBManager.cpp diff --git a/src/db/QueryDBManager.h b/main/src/db/QueryDBManager.h similarity index 100% rename from src/db/QueryDBManager.h rename to main/src/db/QueryDBManager.h diff --git a/src/db/SQLiteManager.cpp b/main/src/db/SQLiteManager.cpp similarity index 100% rename from src/db/SQLiteManager.cpp rename to main/src/db/SQLiteManager.cpp diff --git a/src/db/SQLiteManager.h b/main/src/db/SQLiteManager.h similarity index 100% rename from src/db/SQLiteManager.h rename to main/src/db/SQLiteManager.h diff --git a/src/model/Category.cpp b/main/src/model/Category.cpp similarity index 100% rename from src/model/Category.cpp rename to main/src/model/Category.cpp diff --git a/src/model/Category.h b/main/src/model/Category.h similarity index 100% rename from src/model/Category.h rename to main/src/model/Category.h diff --git a/src/model/Event.cpp b/main/src/model/Event.cpp similarity index 100% rename from src/model/Event.cpp rename to main/src/model/Event.cpp diff --git a/src/model/Event.h b/main/src/model/Event.h similarity index 100% rename from src/model/Event.h rename to main/src/model/Event.h diff --git a/src/plugin/GoogleCalendar/EventSync.cpp b/main/src/plugin/GoogleCalendar/EventSync.cpp similarity index 100% rename from src/plugin/GoogleCalendar/EventSync.cpp rename to main/src/plugin/GoogleCalendar/EventSync.cpp diff --git a/src/plugin/GoogleCalendar/EventSync.h b/main/src/plugin/GoogleCalendar/EventSync.h similarity index 100% rename from src/plugin/GoogleCalendar/EventSync.h rename to main/src/plugin/GoogleCalendar/EventSync.h diff --git a/src/plugin/GoogleCalendar/EventSyncWindow.cpp b/main/src/plugin/GoogleCalendar/EventSyncWindow.cpp similarity index 100% rename from src/plugin/GoogleCalendar/EventSyncWindow.cpp rename to main/src/plugin/GoogleCalendar/EventSyncWindow.cpp diff --git a/src/plugin/GoogleCalendar/EventSyncWindow.h b/main/src/plugin/GoogleCalendar/EventSyncWindow.h similarity index 100% rename from src/plugin/GoogleCalendar/EventSyncWindow.h rename to main/src/plugin/GoogleCalendar/EventSyncWindow.h diff --git a/src/plugin/GoogleCalendar/Requests.h b/main/src/plugin/GoogleCalendar/Requests.h similarity index 100% rename from src/plugin/GoogleCalendar/Requests.h rename to main/src/plugin/GoogleCalendar/Requests.h diff --git a/src/plugin/GoogleCalendar/SynchronizationLoop.cpp b/main/src/plugin/GoogleCalendar/SynchronizationLoop.cpp similarity index 100% rename from src/plugin/GoogleCalendar/SynchronizationLoop.cpp rename to main/src/plugin/GoogleCalendar/SynchronizationLoop.cpp diff --git a/src/utils/ColorConverter.cpp b/main/src/utils/ColorConverter.cpp similarity index 100% rename from src/utils/ColorConverter.cpp rename to main/src/utils/ColorConverter.cpp diff --git a/src/utils/ColorConverter.h b/main/src/utils/ColorConverter.h similarity index 100% rename from src/utils/ColorConverter.h rename to main/src/utils/ColorConverter.h diff --git a/src/utils/ICal.cpp b/main/src/utils/ICal.cpp similarity index 100% rename from src/utils/ICal.cpp rename to main/src/utils/ICal.cpp diff --git a/src/utils/ICal.h b/main/src/utils/ICal.h similarity index 100% rename from src/utils/ICal.h rename to main/src/utils/ICal.h diff --git a/src/utils/ResourceLoader.cpp b/main/src/utils/ResourceLoader.cpp similarity index 100% rename from src/utils/ResourceLoader.cpp rename to main/src/utils/ResourceLoader.cpp diff --git a/src/utils/ResourceLoader.h b/main/src/utils/ResourceLoader.h similarity index 100% rename from src/utils/ResourceLoader.h rename to main/src/utils/ResourceLoader.h