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:
Jérôme Duval
2005-09-23 16:01:21 +00:00
parent f1358045f7
commit 5b9ea6c314
7 changed files with 314 additions and 12 deletions
+23
View File
@@ -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);
}