headers/bsd: Add sys/queue.h.
[haiku.git] / src / kits / storage / AddOnImage.h
blob52547ab7b9ec756d3856a0980d093cff95d75621
1 //----------------------------------------------------------------------
2 // This software is part of the OpenBeOS distribution and is covered
3 // by the MIT License.
4 //---------------------------------------------------------------------
6 #ifndef _ADD_ON_IMAGE_H
7 #define _ADD_ON_IMAGE_H
9 #include <image.h>
11 namespace BPrivate {
13 class AddOnImage {
14 public:
15 AddOnImage();
16 ~AddOnImage();
18 status_t Load(const char* path);
19 void Unload();
21 void SetID(image_id id);
22 image_id ID() const { return fID; }
24 private:
25 image_id fID;
28 } // namespace BPrivate
30 using BPrivate::AddOnImage;
32 #endif // _ADD_ON_IMAGE_H