2 * Copyright 2006, 2007, 2011, Stephan Aßmus <superstippi@gmx.de>.
3 * All rights reserved. Distributed under the terms of the MIT License.
12 #include "IconBuild.h"
31 status_t
Export(Document
* document
,
32 const entry_ref
& ref
);
34 virtual status_t
Export(const Icon
* icon
,
35 BPositionIO
* stream
) = 0;
37 virtual const char* MIMEType() = 0;
39 void SetSelfDestroy(bool selfDestroy
);
41 void WaitForExportThread();
44 static int32
_ExportThreadEntry(void* cookie
);
45 int32
_ExportThread();
46 status_t
_Export(const Icon
* icon
,
47 const entry_ref
* docRef
);
52 thread_id fExportThread
;