libs: Add smohook for getting cmdline opts
This commit is contained in:
@@ -10,6 +10,8 @@
|
||||
#include <user/deviceAttachmentSpec.h>
|
||||
#include <callback.h>
|
||||
|
||||
class OptionParser;
|
||||
|
||||
namespace smo {
|
||||
|
||||
class ComponentThread;
|
||||
@@ -81,6 +83,15 @@ struct SmoCallbacks
|
||||
* equivalent to calling ComponentThread::getSelf().
|
||||
*/
|
||||
std::shared_ptr<ComponentThread> (*ComponentThread_getSelf)(void);
|
||||
|
||||
/**
|
||||
* @brief Get the OptionParser singleton instance
|
||||
* @return Reference to the OptionParser singleton
|
||||
*
|
||||
* This function provides access to the OptionParser singleton instance,
|
||||
* equivalent to calling OptionParser::getOptions().
|
||||
*/
|
||||
OptionParser& (*OptionParser_getOptions)(void);
|
||||
};
|
||||
|
||||
struct Sal_Mgmt_LibOps
|
||||
|
||||
Reference in New Issue
Block a user