Split BShelf::_AddReplicant() functionality into smaller methods. Not
yet done, but I hope it's getting better git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23181 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#define _SHELF_H
|
||||
|
||||
|
||||
#include <Dragger.h>
|
||||
#include <Handler.h>
|
||||
#include <List.h>
|
||||
|
||||
@@ -13,6 +14,7 @@ class BDataIO;
|
||||
class BPoint;
|
||||
class BView;
|
||||
class BEntry;
|
||||
class _BZombieReplicantView_;
|
||||
struct entry_ref;
|
||||
|
||||
namespace BPrivate {
|
||||
@@ -99,8 +101,11 @@ class BShelf : public BHandler {
|
||||
status_t _DeleteReplicant(BPrivate::replicant_data* replicant);
|
||||
status_t _AddReplicant(BMessage* data,
|
||||
BPoint* location, uint32 uniqueID);
|
||||
status_t _GetProperty(BMessage* message, BMessage* reply);
|
||||
_BZombieReplicantView_ *_CreateZombie(BMessage *data, BDragger *&dragger);
|
||||
|
||||
status_t _GetProperty(BMessage* message, BMessage* reply);
|
||||
static void _GetReplicantData(BMessage *message, BView *view, BView *&replicant,
|
||||
BDragger *&dragger, BDragger::relation &relation);
|
||||
static BArchivable* _InstantiateObject(BMessage *archive, image_id *image);
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user