1/*
2 * Copyright 2006, Haiku.
3 * Distributed under the terms of the MIT License.
4 *
5 * Authors:
6 *		Stephan A��mus <superstippi@gmx.de>
7 */
8
9#include "Command.h"
10
11#include <stdio.h>
12
13#include <OS.h>
14
15// constructor
16Command::Command()
17	: fTimeStamp(system_time())
18{
19}
20
21// destructor
22Command::~Command()
23{
24}
25
26// InitCheck
27status_t
28Command::InitCheck()
29{
30	return B_NO_INIT;
31}
32
33// Perform
34status_t
35Command::Perform()
36{
37	return B_ERROR;
38}
39
40// Undo
41status_t
42Command::Undo()
43{
44	return B_ERROR;
45}
46
47// Redo
48status_t
49Command::Redo()
50{
51	return Perform();
52}
53
54// GetName
55void
56Command::GetName(BString& name)
57{
58	name << "Name of action goes here.";
59}
60
61// UndoesPrevious
62bool
63Command::UndoesPrevious(const Command* previous)
64{
65	return false;
66}
67
68// CombineWithNext
69bool
70Command::CombineWithNext(const Command* next)
71{
72	return false;
73}
74
75// CombineWithPrevious
76bool
77Command::CombineWithPrevious(const Command* previous)
78{
79	return false;
80}
81