2 * mvs-watc-movie-service.h
4 * This file is part of maevies
5 * Copyright (C) 2010 Simón Pena <spenap@gmail.com>
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation; either version 3 of the
10 * License, or (at your option) any later version.
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
19 #ifndef _MVS_WATC_MOVIE_SERVICE
20 #define _MVS_WATC_MOVIE_SERVICE
22 #include <glib-object.h>
23 #include "mvs-watc-movie.h"
27 #define MVS_TYPE_WATC_MOVIE_SERVICE mvs_watc_movie_service_get_type()
28 #define MVS_WATC_MOVIE_SERVICE(obj) \
29 (G_TYPE_CHECK_INSTANCE_CAST ((obj), MVS_TYPE_WATC_MOVIE_SERVICE, MvsWatcMovieService))
30 #define MVS_WATC_MOVIE_SERVICE_CLASS(klass) \
31 (G_TYPE_CHECK_CLASS_CAST ((klass), MVS_TYPE_WATC_MOVIE_SERVICE, MvsWatcMovieServiceClass))
32 #define MVS_IS_WATC_MOVIE_SERVICE(obj) \
33 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MVS_TYPE_WATC_MOVIE_SERVICE))
34 #define MVS_IS_WATC_MOVIE_SERVICE_CLASS(klass) \
35 (G_TYPE_CHECK_CLASS_TYPE ((klass), MVS_TYPE_WATC_MOVIE_SERVICE))
36 #define MVS_WATC_MOVIE_SERVICE_GET_CLASS(obj) \
37 (G_TYPE_INSTANCE_GET_CLASS ((obj), MVS_TYPE_WATC_MOVIE_SERVICE, MvsWatcMovieServiceClass))
39 typedef struct _MvsWatcMovieServicePrivate MvsWatcMovieServicePrivate;
45 MvsWatcMovieServicePrivate *priv;
46 } MvsWatcMovieService;
49 GObjectClass parent_class;
50 } MvsWatcMovieServiceClass;
52 GType mvs_watc_movie_service_get_type (void);
53 MvsWatcMovieService* mvs_watc_movie_service_new (DBusGConnection *connection,
54 MvsWatcMovie *movie, const gchar *suffix);
58 #endif /* _MVS_WATC_MOVIE_SERVICE */