forked from p34709852/monkey
18 lines
329 B
Python
18 lines
329 B
Python
|
|
from abc import ABCMeta, abstractmethod
|
|
|
|
__author__ = 'itamar'
|
|
|
|
class MonitorAction(object):
|
|
__metaclass__ = ABCMeta
|
|
|
|
@abstractmethod
|
|
def do_action(self):
|
|
raise NotImplementedError()
|
|
|
|
@abstractmethod
|
|
def undo_action(self):
|
|
raise NotImplementedError()
|
|
|
|
from desktop import ChangeDesktopAction
|