To get the same configuration, you have to type
$svn propset svn:ignore -F .svnignore .
Added some diagrams, too: those found in the garage site. Added the sources to generate them using the online UML site
we found, and a README with the URL
There's also an examples folder, but there's no Makefile.am there, yet, so the sample should be compiled using
$g++ `pkg-config rest --libs --cflags` gtranslate.cpp -o gtranslate
Any other -o name is ok, but the .svnignore file just deals with that name. Will fix it :)
git-svn-id: file:///svnroot/maevies/trunk@3
a96798e0-47ce-444a-94a4-
1d14e63744fc
/*
* This file is part of Maevies
* Copyright (C) 2009 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
#ifndef IMOVIEINFOPROVIDER_H
#define IMOVIEINFOPROVIDER_H
-class IMovieInfoProvider
-{
+class IMovieInfoProvider {
};
#endif
/*
* This file is part of Maevies
* Copyright (C) 2009 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
#ifndef IMOVIESTINGERPROVIDER_H
#define IMOVIESTINGERPROVIDER_H
-class IMovieStingerProvider
-{
- public:
- virtual int stingersCount()=0;
+#include <glib.h>
+
+class IMovieStingerProvider {
+public:
+ virtual gboolean hasStingers()=0;
};
#endif
maevies_SOURCES = main.cpp \
mywindow.cpp \
- mywindow.h
+ mywindow.h \
+ WATCProvider.cpp \
+ WATCProvider.h \
+ IMovieStingerProvider.h
+
+
maevies_LDADD = $(LIBHILDONMM_LIBS) $(LIBOSSO_LIBS)
maevies_CXXFLAGS = $(LIBHILDONMM_CFLAGS) $(LIBOSSO_CFLAGS) -DHELLOWORLD_LOCALEDIR=\"${HELLOWORLD_LOCALEDIR}\"
/*
- * This file is part of Maevies
- * Copyright (C) 2009 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.
+ * WATCProvider.cpp
*
+ * Created on: 26-oct-2009
+ * Author: spenap
*/
+
#include "WATCProvider.h"
-int WATCProvider::stingersCount()
-{
- return 0;
+WATCProvider::WATCProvider() {
+ // TODO Auto-generated constructor stub
+
+}
+
+WATCProvider::~WATCProvider() {
+ // TODO Auto-generated destructor stub
}
/*
- * This file is part of Maevies
- * Copyright (C) 2009 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.
+ * WATCProvider.h
*
+ * Created on: 26-oct-2009
+ * Author: spenap
*/
-#ifndef WATCPROVIDER_H
-#define WATCPROVIDER_H
+
+#ifndef WATCPROVIDER_H_
+#define WATCPROVIDER_H_
#include "IMovieStingerProvider.h"
+#include <rest/rest/rest-proxy-call.h>
-class WATCProvider : IMovieStingerProvider
-{
- public:
- int stingersCount();
+class WATCProvider: public IMovieStingerProvider {
+public:
+ WATCProvider();
+ virtual ~WATCProvider();
};
-#endif
+#endif /* WATCPROVIDER_H_ */