added some views for packages
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14230 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* Copyright 2005, Jérôme DUVAL. All rights reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
|
||||
#include <View.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "PartitionMenuItem.h"
|
||||
|
||||
PartitionMenuItem::PartitionMenuItem(const char *label, BMessage *msg, const char* path)
|
||||
: BMenuItem(label, msg)
|
||||
{
|
||||
fPath = strdup(path);
|
||||
}
|
||||
|
||||
|
||||
PartitionMenuItem::~PartitionMenuItem()
|
||||
{
|
||||
free(fPath);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user