[metacity/matching] stubs



commit 6d0bd465c0c8850415bb74cd4c975b4890ebad5f
Author: Thomas Thurman <tthurman gnome org>
Date:   Fri Jul 10 06:11:40 2009 -0400

    stubs

 src/Makefile.am   |    4 +++-
 src/ui/matching.c |   43 +++++++++++++++++++++++++++++++++++++++++++
 src/ui/matching.h |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 95 insertions(+), 1 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index bd3420f..b0735db 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -97,7 +97,9 @@ metacity_SOURCES= 				\
 	ui/themewidget.c			\
 	ui/themewidget.h			\
 	ui/ui.c					\
-	include/all-keybindings.h
+	include/all-keybindings.h		\
+	ui/matching.c				\
+	ui/matching.h
 
 # by setting libmetacity_private_la_CFLAGS, the files shared with
 # metacity proper will be compiled with different names.
diff --git a/src/ui/matching.c b/src/ui/matching.c
new file mode 100644
index 0000000..16dca74
--- /dev/null
+++ b/src/ui/matching.c
@@ -0,0 +1,43 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
+/* Window matching */
+
+/*
+ * Copyright (C) 2009 Thomas Thurman
+ *
+ * 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.
+ */
+
+#include "matching.h"
+
+MetaMatching* meta_matching_load_from_role (gchar *role)
+{
+  /* stub */
+  return NULL;
+}
+
+void meta_matching_save_to_role (gchar *role, MetaMatching *matching)
+{
+  /* stub */
+}
+
+void meta_matching_save_all (void)
+{
+  /* stub */
+}
+
+/* eof matching.c */
+
diff --git a/src/ui/matching.h b/src/ui/matching.h
new file mode 100644
index 0000000..7eb2437
--- /dev/null
+++ b/src/ui/matching.h
@@ -0,0 +1,49 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
+/* Window matching */
+
+/*
+ * Copyright (C) 2009 Thomas Thurman
+ *
+ * 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.
+ */
+
+#ifndef META_MATCHING_H
+#define META_MATCHING_H
+
+#include "common.h"
+
+/**
+ * Represents the position of a given window on a display.
+ */
+typedef struct
+{
+  gint x;
+  gint y;
+  guint width;
+  guint height;
+  guint desktop;
+} MetaMatching;
+
+MetaMatching* meta_matching_load_from_role (gchar *role);
+
+void meta_matching_save_to_role (gchar *role, MetaMatching *matching);
+
+void meta_matching_save_all (void);
+
+#endif
+
+/* eof matching.h */



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