Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 46 lines (41 sloc) 1.363 kb
2bf7c26 @antialize first commit
authored
1 // -*- mode: c++; tab-width: 4; indent-tabs-mode: t; c-file-style: "stroustrup"; -*-
2 // vi:set ts=4 sts=4 sw=4 noet
fb88a7c Silenced some warnings
Jakob Truelsen authored
3 /*
4 * Mediabox: a light mediacenter solution
5 * Copyright (C) 2009 Jakob Truelsen
6 *
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
2bf7c26 @antialize first commit
authored
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
fb88a7c Silenced some warnings
Jakob Truelsen authored
19 */
e708d1a @antialize git-svn-id: svn+ssh://geneshaft/home/jakobt/work-svn/projects/mediabo…
authored
20 #ifndef __systemmenu_hh__
21 #define __systemmenu_hh__
22 #include "input.hh"
23 #include <string>
24 #include "canvas.hh"
25 #include "db.hh"
26
27 class Part {
28 public:
29 virtual void push() = 0;
30 virtual void pop() = 0;
31 virtual ~Part() {};
d022558 @antialize git-svn-id: svn+ssh://geneshaft/home/jakobt/work-svn/projects/mediabo…
authored
32 virtual const char * name() = 0;
33 virtual const char * image() = 0;
e708d1a @antialize git-svn-id: svn+ssh://geneshaft/home/jakobt/work-svn/projects/mediabo…
authored
34 };
35
36 class SystemMenu {
37 public:
38 virtual void addPart(Part * p) = 0;
39 virtual ~SystemMenu() {}
40 virtual void run() = 0;
41 };
42
43 SystemMenu * createSystemMenu(Stack *, InputStack * input, DB *);
44
45 #endif //__systemmenu_hh__
Something went wrong with that request. Please try again.