view host/Action.h @ 17:3cbd40805795 tip

Remove obsolete stuff from README
author Chris Cannam
date Tue, 03 Dec 2013 16:33:08 +0000
parents b30fcffc5000
children
line wrap: on
line source
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*-  vi:set ts=8 sts=4 sw=4: */

#ifndef _ACTION_H_
#define _ACTION_H_

#include <QObject>
#include <QString>

class Action : public QObject
{
public:
    virtual ~Action() { }

    virtual QString getName() const = 0;
    virtual void fire() = 0;

protected:
    Action() { } 
};

#endif