~ubuntu-branches/ubuntu/maverick/notecase/maverick

« back to all changes in this revision

Viewing changes to src/lib/DocActionBase.h

  • Committer: Bazaar Package Importer
  • Author(s): Cyril Brulebois
  • Date: 2005-09-09 09:32:43 UTC
  • Revision ID: james.westby@ubuntu.com-20050909093243-s6namw0yh7q3tqy0
Tags: upstream-1.0.5
ImportĀ upstreamĀ versionĀ 1.0.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
////////////////////////////////////////////////////////////////////////////
 
2
// NoteCase notes manager project <http://notecase.sf.net>
 
3
//
 
4
// This code is licensed under BSD license.See "license.txt" for more details.
 
5
//
 
6
// File: Defines abstract class for atomic action performed on NoteCase document 
 
7
//               (base for Undo/Redo framework)
 
8
////////////////////////////////////////////////////////////////////////////
 
9
 
 
10
#ifndef DOCACTIONBASE_H_
 
11
#define DOCACTIONBASE_H_
 
12
 
 
13
#if _MSC_VER > 1000
 
14
#pragma once
 
15
#endif // _MSC_VER > 1000
 
16
 
 
17
class DocActionBase 
 
18
{
 
19
public:
 
20
        DocActionBase(){};
 
21
        virtual ~DocActionBase(){};
 
22
 
 
23
        virtual void Redo() = 0;
 
24
        virtual void Undo() = 0;
 
25
};
 
26
 
 
27
#endif // DOCACTIONBASE_H_