Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

Status.h

Go to the documentation of this file.
00001 #ifndef DEBTAGS_STATUS_H
00002 #define DEBTAGS_STATUS_H
00003 
00004 /*
00005  * Report status about a Debtags operation
00006  *
00007  * Copyright (C) 2005  Enrico Zini <enrico@debian.org>
00008  *
00009  * This program is free software; you can redistribute it and/or modify
00010  * it under the terms of the GNU General Public License as published by
00011  * the Free Software Foundation; either version 2 of the License, or
00012  * (at your option) any later version.
00013  *
00014  * This program is distributed in the hope that it will be useful,
00015  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00016  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017  * GNU General Public License for more details.
00018  *
00019  * You should have received a copy of the GNU General Public License
00020  * along with this program; if not, write to the Free Software
00021  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00022  */
00023 
00024 #include <string>
00025 
00026 namespace Debtags
00027 {
00028 
00032 class Status
00033 {
00034 public:
00035     virtual ~Status() {}
00036 
00043     virtual bool advance(int cur = 1) = 0;
00044 
00052     virtual void setTotal(int total) throw () {}
00053 };
00054 
00055 };
00056 
00057 // vim:set ts=4 sw=4:
00058 #endif

Generated on Sat Sep 10 03:47:41 2005 for libdebtags by  doxygen 1.4.4