* added new icon specific verions of GetIcon and SetIcon

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19300 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2006-11-16 00:12:15 +00:00
parent 7cb11339a0
commit c8a976202c
2 changed files with 106 additions and 9 deletions
+6 -9
View File
@@ -1,12 +1,7 @@
//----------------------------------------------------------------------
// This software is part of the OpenBeOS distribution and is covered
// by the OpenBeOS license.
//---------------------------------------------------------------------
/*!
\file NodeInfo.h
BNodeInfo interface declaration.
*/
/*
* Copyright 2002-2006, Haiku, Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _NODE_INFO_H
#define _NODE_INFO_H
@@ -54,6 +49,8 @@ public:
virtual status_t SetType(const char *type);
virtual status_t GetIcon(BBitmap *icon, icon_size k = B_LARGE_ICON) const;
virtual status_t SetIcon(const BBitmap *icon, icon_size k = B_LARGE_ICON);
status_t GetIcon(uint8** data, size_t* size, type_code* type) const;
status_t SetIcon(const uint8* data, size_t size);
status_t GetPreferredApp(char *signature,
app_verb verb = B_OPEN) const;