maint: added make-apt.sh to create signed apt repositories
[barry/progweb.git] / src / a_application.h
blob805dc0cd8dcff95798a5c9b3b9b0b8cf5737f538
1 ///
2 /// \file a_application.h
3 /// ALX Application class based on CODSection class
4 ///
6 /*
7 Copyright (C) 2010, Nicolas VIVIEN
8 Copyright (C) 2005-2011, Net Direct Inc. (http://www.netdirect.ca/)
10 This program is free software; you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by
12 the Free Software Foundation; either version 2 of the License, or
13 (at your option) any later version.
15 This program is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19 See the GNU General Public License in the COPYING file at the
20 root directory of this project for more details.
23 #ifndef __BARRY_A_APPLICATION_H__
24 #define __BARRY_A_APPLICATION_H__
26 #include <vector>
28 #include "dll.h"
29 #include "a_codsection.h"
32 namespace Barry {
34 namespace ALX {
37 class BXEXPORT Application : public CODSection
39 public:
40 Application(void);
41 Application(const xmlpp::SaxParser::AttributeList& attrs);
42 virtual ~Application(void);
44 virtual void Dump(std::ostream &os) const;
48 inline std::ostream& operator<<(std::ostream& os, const Application& app)
50 app.Dump(os);
51 return os;
55 } // namespace ALX
57 } // namespace Barry
59 #endif