summaryrefslogtreecommitdiff
path: root/src/eom-session.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eom-session.c')
-rw-r--r--src/eom-session.c52
1 files changed, 52 insertions, 0 deletions
diff --git a/src/eom-session.c b/src/eom-session.c
new file mode 100644
index 0000000..bc926e5
--- /dev/null
+++ b/src/eom-session.c
@@ -0,0 +1,52 @@
+/* Eye Of Mate - Session Handler
+ *
+ * Copyright (C) 2006 The Free Software Foundation
+ *
+ * Author: Lucas Rocha <[email protected]>
+ *
+ * Based on gedit code (gedit/gedit-session.h) by:
+ * - Gedit Team
+ * - Federico Mena-Quintero <[email protected]>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * 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.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include "eom-session.h"
+#include "eom-window.h"
+#include "eom-application.h"
+
+void
+eom_session_init (EomApplication *application)
+{
+ g_return_if_fail (EOM_IS_APPLICATION (application));
+
+ /* FIXME: Session management is currently a no-op in eom. */
+}
+
+gboolean
+eom_session_is_restored (void)
+{
+ return FALSE;
+}
+
+gboolean
+eom_session_load (void)
+{
+ return TRUE;
+}