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 TTextView;
|
||||||
class BFile;
|
class BFile;
|
||||||
class BList;
|
class BList;
|
||||||
class BPopupMenu;
|
class BPopUpMenu;
|
||||||
|
|
||||||
struct text_run_array;
|
struct text_run_array;
|
||||||
|
|
||||||
|
|||||||
@@ -6,6 +6,8 @@
|
|||||||
|
|
||||||
#include "People.h"
|
#include "People.h"
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
#include <Autolock.h>
|
#include <Autolock.h>
|
||||||
#include <Node.h>
|
#include <Node.h>
|
||||||
|
|
||||||
|
|||||||
@@ -24,7 +24,15 @@ initQueryLooper()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// #pragma mark -
|
// #pragma mark - QueryListener
|
||||||
|
|
||||||
|
|
||||||
|
QueryListener::~QueryListener()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// #pragma mark - QueryList
|
||||||
|
|
||||||
|
|
||||||
QueryList::QueryList()
|
QueryList::QueryList()
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ struct QueryList;
|
|||||||
|
|
||||||
class QueryListener {
|
class QueryListener {
|
||||||
public:
|
public:
|
||||||
|
virtual ~QueryListener();
|
||||||
virtual void EntryCreated(QueryList& source,
|
virtual void EntryCreated(QueryList& source,
|
||||||
const entry_ref& ref, ino_t node) = 0;
|
const entry_ref& ref, ino_t node) = 0;
|
||||||
virtual void EntryRemoved(QueryList& source,
|
virtual void EntryRemoved(QueryList& source,
|
||||||
|
|||||||
Reference in New Issue
Block a user