cleanup, fixed some warnings
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21128 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -42,6 +42,7 @@
|
|||||||
|
|
||||||
class FolderListener {
|
class FolderListener {
|
||||||
public:
|
public:
|
||||||
|
virtual ~FolderListener() {};
|
||||||
// entry created or moved into folder
|
// entry created or moved into folder
|
||||||
virtual void EntryCreated(node_ref* node, entry_ref* entry) {};
|
virtual void EntryCreated(node_ref* node, entry_ref* entry) {};
|
||||||
// entry removed from folder (or moved to another folder)
|
// entry removed from folder (or moved to another folder)
|
||||||
|
|||||||
@@ -49,6 +49,7 @@ class DirectoryFilePanel : public BFilePanel {
|
|||||||
uint32 node_flavors = 0, bool allow_multiple_selection = true,
|
uint32 node_flavors = 0, bool allow_multiple_selection = true,
|
||||||
BMessage *message = 0, BRefFilter * = 0,
|
BMessage *message = 0, BRefFilter * = 0,
|
||||||
bool modal = false, bool hide_when_done = true);
|
bool modal = false, bool hide_when_done = true);
|
||||||
|
virtual ~DirectoryFilePanel() {};
|
||||||
virtual void SelectionChanged(void);
|
virtual void SelectionChanged(void);
|
||||||
virtual void Show();
|
virtual void Show();
|
||||||
|
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ class GenericThread
|
|||||||
status_t Kill(void);
|
status_t Kill(void);
|
||||||
|
|
||||||
void ExitWithReturnValue(status_t a_return_value);
|
void ExitWithReturnValue(status_t a_return_value);
|
||||||
status_t SetExitCallback(void(* a_callback)(void *), void * a_data);
|
status_t SetExitCallback(void (* a_callback)(void *), void * a_data);
|
||||||
status_t WaitForThread(status_t * a_exit_value);
|
status_t WaitForThread(status_t * a_exit_value);
|
||||||
|
|
||||||
status_t Rename(char * a_name);
|
status_t Rename(char * a_name);
|
||||||
|
|||||||
@@ -48,3 +48,4 @@ void ReplaceColor(BBitmap *bitmap, rgb_color from, rgb_color to);
|
|||||||
void ReplaceTransparentColor(BBitmap *bitmap, rgb_color with);
|
void ReplaceTransparentColor(BBitmap *bitmap, rgb_color with);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ class EventTarget {
|
|||||||
|
|
||||||
class EventFilter {
|
class EventFilter {
|
||||||
public:
|
public:
|
||||||
|
virtual ~EventFilter() {};
|
||||||
virtual filter_result Filter(BMessage* event, EventTarget** _target,
|
virtual filter_result Filter(BMessage* event, EventTarget** _target,
|
||||||
int32* _viewToken = NULL, BMessage* latestMouseMoved = NULL) = 0;
|
int32* _viewToken = NULL, BMessage* latestMouseMoved = NULL) = 0;
|
||||||
virtual void RemoveTarget(EventTarget* target);
|
virtual void RemoveTarget(EventTarget* target);
|
||||||
|
|||||||
@@ -49,6 +49,7 @@ class FontKey : public Hashable {
|
|||||||
: fHash(familyID | (styleID << 16UL))
|
: fHash(familyID | (styleID << 16UL))
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
virtual ~FontKey() {};
|
||||||
|
|
||||||
virtual uint32 Hash() const
|
virtual uint32 Hash() const
|
||||||
{ return fHash; }
|
{ return fHash; }
|
||||||
|
|||||||
@@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
class Hashable {
|
class Hashable {
|
||||||
public:
|
public:
|
||||||
|
virtual ~Hashable() {};
|
||||||
virtual uint32 Hash() const = 0;
|
virtual uint32 Hash() const = 0;
|
||||||
virtual bool CompareTo(Hashable& hashable) const = 0;
|
virtual bool CompareTo(Hashable& hashable) const = 0;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ typedef BObjectList<Screen> ScreenList;
|
|||||||
|
|
||||||
class ScreenOwner {
|
class ScreenOwner {
|
||||||
public:
|
public:
|
||||||
|
virtual ~ScreenOwner() {};
|
||||||
virtual void ScreenRemoved(Screen* screen) = 0;
|
virtual void ScreenRemoved(Screen* screen) = 0;
|
||||||
virtual void ScreenAdded(Screen* screen) = 0;
|
virtual void ScreenAdded(Screen* screen) = 0;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user