32de23c976
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2797 a95241bf-73f2-0310-859d-f6bbb57e9c96
33 lines
619 B
C++
33 lines
619 B
C++
//----------------------------------------------------------------------
|
|
// This software is part of the OpenBeOS distribution and is covered
|
|
// by the OpenBeOS license.
|
|
//---------------------------------------------------------------------
|
|
|
|
#ifndef _ADD_ON_IMAGE_H
|
|
#define _ADD_ON_IMAGE_H
|
|
|
|
#include <image.h>
|
|
|
|
namespace BPrivate {
|
|
|
|
class AddOnImage {
|
|
public:
|
|
AddOnImage();
|
|
~AddOnImage();
|
|
|
|
status_t Load(const char *path);
|
|
void Unload();
|
|
|
|
void SetID(image_id id);
|
|
image_id ID() const { return fID; }
|
|
|
|
private:
|
|
image_id fID;
|
|
};
|
|
|
|
} // namespace BPrivate
|
|
|
|
using BPrivate::AddOnImage;
|
|
|
|
#endif // _ADD_ON_IMAGE_H
|