t
Dependencies: DM_FATFileSystem DM_HttpServer DM_USBHost EthernetInterface USBDevice mbed-rpc mbed-rtos
Fork of DMSupport by
Diff: DMBoard.h
- Revision:
- 20:9df19da50290
- Parent:
- 17:4ea2509445ac
- Child:
- 22:1a58a518435c
--- a/DMBoard.h Fri Jan 09 11:42:06 2015 +0100 +++ b/DMBoard.h Mon Jan 12 10:33:53 2015 +0100 @@ -34,6 +34,10 @@ #include "Display.h" #include "TouchPanel.h" #endif +#if defined(DM_BOARD_USE_REGISTRY) + #include "Registry.h" +#endif + /** * Example of using the Board class: @@ -68,6 +72,7 @@ BiosInvalidError, BiosVersionError, BiosStorageError, + RegistryError, }; /** Get the only instance of the DMBoard @@ -140,6 +145,15 @@ */ RtosLog* logger() { return &_logger; } +#if defined(DM_BOARD_USE_REGISTRY) + /** Returns the Registry interface + * + * @returns + * The registry + */ + Registry* registry() { return &Registry::instance(); } +#endif + private: bool _initialized;