From 8b6c387e957b5acbbb8552fdf152d97451ab7da4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Thu, 12 Feb 2004 20:33:46 +0000 Subject: [PATCH] Fixed the wrong return type of ViewSize(). Reduced the number of state message types. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6570 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/diskprobe/DataEditor.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/apps/diskprobe/DataEditor.h b/src/apps/diskprobe/DataEditor.h index e84968bcd9..935d36080a 100644 --- a/src/apps/diskprobe/DataEditor.h +++ b/src/apps/diskprobe/DataEditor.h @@ -56,7 +56,7 @@ class DataEditor { off_t ViewOffset() const { return fViewOffset; } status_t SetViewSize(size_t size); - off_t ViewSize() const { return fViewSize; } + size_t ViewSize() const { return fViewSize; } void SetBlockSize(size_t size); size_t BlockSize() const { return fBlockSize; } @@ -101,9 +101,7 @@ class DataEditor { size_t fBlockSize; }; -static const uint32 kMsgDataEditorUndoState = 'deUS'; -static const uint32 kMsgDataEditorRedoState = 'deRS'; -static const uint32 kMsgDataEditorModifiedState = 'deMS'; +static const uint32 kMsgDataEditorStateChange = 'deSC'; static const uint32 kMsgDataEditorUpdate = 'deUp'; #endif /* DATA_EDITOR_H */