Adding Gui
diff --git a/gui/chronosharegui.h b/gui/chronosharegui.h
new file mode 100644
index 0000000..6e26734
--- /dev/null
+++ b/gui/chronosharegui.h
@@ -0,0 +1,69 @@
+/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil -*- */
+/*
+ * Copyright (c) 2012-2013 University of California, Los Angeles
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation;
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * Author: Jared Lindblom <lindblom@cs.ucla.edu>
+ */
+
+#ifndef CHRONOSHAREGUI_H
+#define CHRONOSHAREGUI_H
+
+#include <QWidget>
+#include <QSystemTrayIcon>
+#include <QMenu>
+#include <QCloseEvent>
+#include <QDebug>
+#include <QProcess>
+
+class ChronoShareGui : public QWidget
+{
+ Q_OBJECT
+
+public:
+ // constructor
+ ChronoShareGui(QString dirPath, QWidget* parent = 0);
+
+ // destructor
+ ~ChronoShareGui();
+
+private slots:
+ // handle left click of tray icon
+ void trayIconClicked(QSystemTrayIcon::ActivationReason reason);
+
+private:
+ // create actions that result from clicking a menu option
+ void createActions();
+
+ // create tray icon
+ void createTrayIcon();
+
+ // set icon image
+ void setIcon();
+
+ // open the shared folder
+ void openSharedFolder();
+
+private:
+ QSystemTrayIcon* m_trayIcon; // tray icon
+ QMenu* m_trayIconMenu; // tray icon menu
+
+ QAction* m_openFolder; // open the shared folder action
+ QAction* m_quitProgram; // quit program action
+
+ QString m_dirPath; // shared directory
+};
+
+#endif // CHRONOSHAREGUI_H