From: spenap Date: Tue, 27 Oct 2009 19:50:07 +0000 (+0000) Subject: Added svn:ignore properties. Now, the files added by the autoconf & automake scripts... X-Git-Url: https://vcs.maemo.org/git/?a=commitdiff_plain;h=3995a442f67c659a6f6b137f80657d1595baea1b;hp=db3d886b0eb87216e0c2f2667bc8e356b933a5d6;p=maevies Added svn:ignore properties. Now, the files added by the autoconf & automake scripts won't get imported into the repository 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 --- diff --git a/src/IMovieInfoProvider.h b/src/IMovieInfoProvider.h index 4e1acee..7a8bfcf 100644 --- a/src/IMovieInfoProvider.h +++ b/src/IMovieInfoProvider.h @@ -1,12 +1,12 @@ /* * 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 @@ -16,8 +16,7 @@ #ifndef IMOVIEINFOPROVIDER_H #define IMOVIEINFOPROVIDER_H -class IMovieInfoProvider -{ +class IMovieInfoProvider { }; #endif diff --git a/src/IMovieStingerProvider.h b/src/IMovieStingerProvider.h index c553fdc..d900f2d 100644 --- a/src/IMovieStingerProvider.h +++ b/src/IMovieStingerProvider.h @@ -1,12 +1,12 @@ /* * 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 @@ -16,10 +16,11 @@ #ifndef IMOVIESTINGERPROVIDER_H #define IMOVIESTINGERPROVIDER_H -class IMovieStingerProvider -{ - public: - virtual int stingersCount()=0; +#include + +class IMovieStingerProvider { +public: + virtual gboolean hasStingers()=0; }; #endif diff --git a/src/Makefile.am b/src/Makefile.am index bfd55ae..5be42e4 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -18,7 +18,12 @@ bin_PROGRAMS = maevies 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}\" diff --git a/src/WATCProvider.cpp b/src/WATCProvider.cpp index 52a2903..f259cf7 100644 --- a/src/WATCProvider.cpp +++ b/src/WATCProvider.cpp @@ -1,21 +1,17 @@ /* - * 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 } diff --git a/src/WATCProvider.h b/src/WATCProvider.h index bcc2c4a..1b4b2c5 100644 --- a/src/WATCProvider.h +++ b/src/WATCProvider.h @@ -1,27 +1,20 @@ /* - * 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 -class WATCProvider : IMovieStingerProvider -{ - public: - int stingersCount(); +class WATCProvider: public IMovieStingerProvider { +public: + WATCProvider(); + virtual ~WATCProvider(); }; -#endif +#endif /* WATCPROVIDER_H_ */