X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fmvs-watc-movie-service.h;fp=src%2Fmvs-watc-movie-service.h;h=bbd3a61347dc8fb66bf65117587ab3d2940957c5;hb=c094ea641e3dece80a803799f63e16d0987cc31f;hp=0000000000000000000000000000000000000000;hpb=5fd9a72114ff4ada0b39d4e5d2d02683f3350ad5;p=maevies diff --git a/src/mvs-watc-movie-service.h b/src/mvs-watc-movie-service.h new file mode 100644 index 0000000..bbd3a61 --- /dev/null +++ b/src/mvs-watc-movie-service.h @@ -0,0 +1,58 @@ +/* + * mvs-watc-movie-service.h + * + * This file is part of maevies + * Copyright (C) 2010 Simón Pena + * + * 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 +#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; + + /* */ + 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 */