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 {
|
||||
public:
|
||||
virtual ~FolderListener() {};
|
||||
// entry created or moved into folder
|
||||
virtual void EntryCreated(node_ref* node, entry_ref* entry) {};
|
||||
// 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,
|
||||
BMessage *message = 0, BRefFilter * = 0,
|
||||
bool modal = false, bool hide_when_done = true);
|
||||
virtual ~DirectoryFilePanel() {};
|
||||
virtual void SelectionChanged(void);
|
||||
virtual void Show();
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ class GenericThread
|
||||
status_t Kill(void);
|
||||
|
||||
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 Rename(char * a_name);
|
||||
|
||||
@@ -47,4 +47,5 @@ const float kDimLevel = 0.6;
|
||||
void ReplaceColor(BBitmap *bitmap, rgb_color from, rgb_color to);
|
||||
void ReplaceTransparentColor(BBitmap *bitmap, rgb_color with);
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
@@ -56,6 +56,7 @@ class EventTarget {
|
||||
|
||||
class EventFilter {
|
||||
public:
|
||||
virtual ~EventFilter() {};
|
||||
virtual filter_result Filter(BMessage* event, EventTarget** _target,
|
||||
int32* _viewToken = NULL, BMessage* latestMouseMoved = NULL) = 0;
|
||||
virtual void RemoveTarget(EventTarget* target);
|
||||
|
||||
@@ -49,6 +49,7 @@ class FontKey : public Hashable {
|
||||
: fHash(familyID | (styleID << 16UL))
|
||||
{
|
||||
}
|
||||
virtual ~FontKey() {};
|
||||
|
||||
virtual uint32 Hash() const
|
||||
{ return fHash; }
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
|
||||
class Hashable {
|
||||
public:
|
||||
virtual ~Hashable() {};
|
||||
virtual uint32 Hash() const = 0;
|
||||
virtual bool CompareTo(Hashable& hashable) const = 0;
|
||||
};
|
||||
|
||||
@@ -24,6 +24,7 @@ typedef BObjectList<Screen> ScreenList;
|
||||
|
||||
class ScreenOwner {
|
||||
public:
|
||||
virtual ~ScreenOwner() {};
|
||||
virtual void ScreenRemoved(Screen* screen) = 0;
|
||||
virtual void ScreenAdded(Screen* screen) = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user