monkey/infection_monitor/action/__init__.py

18 lines
329 B
Python
Raw Normal View History

2015-08-30 15:27:35 +08:00
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