watc-movie-service: Added WATC movie service
[maevies] / src / mvs-watc-movie-service.h
diff --git a/src/mvs-watc-movie-service.h b/src/mvs-watc-movie-service.h
new file mode 100644 (file)
index 0000000..bbd3a61
--- /dev/null
@@ -0,0 +1,58 @@
+/*
+ * mvs-watc-movie-service.h
+ *
+ * This file is part of maevies
+ * Copyright (C) 2010 Simón Pena <spenap@gmail.com>
+ *
+ * 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 3 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.
+ *
+ */
+
+#ifndef _MVS_WATC_MOVIE_SERVICE
+#define _MVS_WATC_MOVIE_SERVICE
+
+#include <glib-object.h>
+#include "mvs-watc-movie.h"
+
+G_BEGIN_DECLS
+
+#define MVS_TYPE_WATC_MOVIE_SERVICE mvs_watc_movie_service_get_type()
+#define MVS_WATC_MOVIE_SERVICE(obj) \
+  (G_TYPE_CHECK_INSTANCE_CAST ((obj), MVS_TYPE_WATC_MOVIE_SERVICE, MvsWatcMovieService))
+#define MVS_WATC_MOVIE_SERVICE_CLASS(klass) \
+  (G_TYPE_CHECK_CLASS_CAST ((klass), MVS_TYPE_WATC_MOVIE_SERVICE, MvsWatcMovieServiceClass))
+#define MVS_IS_WATC_MOVIE_SERVICE(obj) \
+  (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MVS_TYPE_WATC_MOVIE_SERVICE))
+#define MVS_IS_WATC_MOVIE_SERVICE_CLASS(klass) \
+  (G_TYPE_CHECK_CLASS_TYPE ((klass), MVS_TYPE_WATC_MOVIE_SERVICE))
+#define MVS_WATC_MOVIE_SERVICE_GET_CLASS(obj) \
+  (G_TYPE_INSTANCE_GET_CLASS ((obj), MVS_TYPE_WATC_MOVIE_SERVICE, MvsWatcMovieServiceClass))
+
+typedef struct _MvsWatcMovieServicePrivate MvsWatcMovieServicePrivate;
+
+typedef struct {
+        GObject parent;
+
+        /* <private> */
+        MvsWatcMovieServicePrivate *priv;
+} MvsWatcMovieService;
+
+typedef struct {
+        GObjectClass parent_class;
+} MvsWatcMovieServiceClass;
+
+GType mvs_watc_movie_service_get_type (void);
+MvsWatcMovieService* mvs_watc_movie_service_new (DBusGConnection *connection,
+                MvsWatcMovie *movie, const gchar *suffix);
+
+G_END_DECLS
+
+#endif /* _MVS_WATC_MOVIE_SERVICE */