Mail: Fix gcc4 build.
- Fix typo in forward declaration. - Add missing include for snprintf. - Add missing virtual destructor on QueryListener abstract class.
This commit is contained in:
@@ -61,7 +61,7 @@ class TScrollView;
|
||||
class TTextView;
|
||||
class BFile;
|
||||
class BList;
|
||||
class BPopupMenu;
|
||||
class BPopUpMenu;
|
||||
|
||||
struct text_run_array;
|
||||
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
|
||||
#include "People.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include <Autolock.h>
|
||||
#include <Node.h>
|
||||
|
||||
|
||||
@@ -24,7 +24,15 @@ initQueryLooper()
|
||||
}
|
||||
|
||||
|
||||
// #pragma mark -
|
||||
// #pragma mark - QueryListener
|
||||
|
||||
|
||||
QueryListener::~QueryListener()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
// #pragma mark - QueryList
|
||||
|
||||
|
||||
QueryList::QueryList()
|
||||
|
||||
@@ -21,6 +21,7 @@ struct QueryList;
|
||||
|
||||
class QueryListener {
|
||||
public:
|
||||
virtual ~QueryListener();
|
||||
virtual void EntryCreated(QueryList& source,
|
||||
const entry_ref& ref, ino_t node) = 0;
|
||||
virtual void EntryRemoved(QueryList& source,
|
||||
|
||||
Reference in New Issue
Block a user