Free Electron
PaletteI.h
Go to the documentation of this file.
1 /* Copyright (C) 2003-2021 Free Electron Organization
2  Any use of this software requires a license. If a valid license
3  was not distributed with this file, visit freeelectron.org. */
4 
5 /** @file */
6 
7 #ifndef __architecture_PaletteI_h__
8 #define __architecture_PaletteI_h__
9 namespace fe
10 {
11 namespace ext
12 {
13 
14 /** Palette */
15 class FE_DL_EXPORT PaletteI : virtual public Component
16 {
17  public:
18 virtual void set(const String &a_name, sp<Component> spCmp) = 0;
19 virtual sp<Component> get(const String &a_name) = 0;
20 virtual void remove(const String &a_name) = 0;
21 };
22 
23 } /* namespace ext */
24 } /* namespace fe */
25 
26 #endif /* __architecture_PaletteI_h__ */
27 
Palette.
Definition: PaletteI.h:15
kernel
Definition: namespace.dox:3
Automatically reference-counted string container.
Definition: String.h:128
Base for all interfacable components.
Definition: Component.h:20
Intrusive Smart Pointer.
Definition: src/core/ptr.h:53