~chris.foo/bytestag/trunk

« back to all changes in this revision

Viewing changes to src/py3/bytestagui/abstract/controllers/app.py

  • Committer: Christopher Foo
  • Date: 2012-09-09 15:38:30 UTC
  • mfrom: (24.1.28 trunk)
  • Revision ID: chris.foo@gmail.com-20120909153830-575fqdbsju8dmg0k
Merges from trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
'''Application'''
2
 
# This file is part of Bytestag.
3
 
# Copyright © 2012 Christopher Foo <chris.foo@gmail.com>.
4
 
# Licensed under GNU GPLv3. See COPYING.txt for details.
5
 
from bytestagui.abstract.controllers.base import BaseApplication
6
 
import abc
7
 
 
8
 
 
9
 
class Application(BaseApplication, metaclass=abc.ABCMeta):
10
 
    @abc.abstractmethod
11
 
    def run(self):
12
 
        pass
13
 
 
14
 
    @abc.abstractmethod
15
 
    def stop(self):
16
 
        pass