Fix last commit
[carla.git] / source / includes / vst3sdk / pluginterfaces / base / icloneable.h
blobf698a69241fd600011b41c1500129b121b0c4692
1 //-----------------------------------------------------------------------------
2 // Project : SDK Core
3 //
4 // Category : SDK Core Interfaces
5 // Filename : pluginterfaces/base/icloneable.h
6 // Created by : Steinberg, 11/2007
7 // Description : Interface for object copies
8 //
9 //-----------------------------------------------------------------------------
10 // This file is part of a Steinberg SDK. It is subject to the license terms
11 // in the LICENSE file found in the top-level directory of this distribution
12 // and at www.steinberg.net/sdklicenses.
13 // No part of the SDK, including this file, may be copied, modified, propagated,
14 // or distributed except according to the terms contained in the LICENSE file.
15 //-----------------------------------------------------------------------------
17 #pragma once
19 #include "funknown.h"
21 namespace Steinberg {
23 //------------------------------------------------------------------------
24 /** Interface allowing an object to be copied.
25 - [plug & host imp]
26 - [released: N4.12]
28 class ICloneable : public FUnknown
30 public:
31 //------------------------------------------------------------------------
32 /** Create exact copy of the object */
33 virtual FUnknown* PLUGIN_API clone () = 0;
34 //------------------------------------------------------------------------
35 static const FUID iid;
38 DECLARE_CLASS_IID (ICloneable, 0xD45406B9, 0x3A2D4443, 0x9DAD9BA9, 0x85A1454B)
40 //------------------------------------------------------------------------
41 } // namespace Steinberg