[dasher] GC CDasherInterfaceBase::{Register, {Disc, C}onnect}Node (since new speech)
- From: Patrick Welche <pwelche src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dasher] GC CDasherInterfaceBase::{Register, {Disc, C}onnect}Node (since new speech)
- Date: Tue, 18 Jan 2011 17:16:45 +0000 (UTC)
commit d3f0bd8b9d4097c32a48ce505a0b83ae7931becb
Author: Alan Lawrence <acl33 inf phy cam ac uk>
Date: Fri Nov 26 11:49:46 2010 +0000
GC CDasherInterfaceBase::{Register,{Disc,C}onnect}Node (since new speech)
Src/DasherCore/DasherInterfaceBase.cpp | 17 -----------------
Src/DasherCore/DasherInterfaceBase.h | 10 ++--------
2 files changed, 2 insertions(+), 25 deletions(-)
---
diff --git a/Src/DasherCore/DasherInterfaceBase.cpp b/Src/DasherCore/DasherInterfaceBase.cpp
index db208e6..ff7fe98 100644
--- a/Src/DasherCore/DasherInterfaceBase.cpp
+++ b/Src/DasherCore/DasherInterfaceBase.cpp
@@ -781,23 +781,6 @@ void CDasherInterfaceBase::SetContext(std::string strNewContext) {
m_strContext = strNewContext;
}
-// Control mode stuff
-
-void CDasherInterfaceBase::RegisterNode( int iID, const std::string &strLabel, int iColour ) {
- CControlManager *pMgr(m_pNCManager->GetControlManager());
- if (pMgr) pMgr->RegisterNode(iID, strLabel, iColour);
-}
-
-void CDasherInterfaceBase::ConnectNode(int iChild, int iParent, int iAfter) {
- CControlManager *pMgr(m_pNCManager->GetControlManager());
- pMgr->ConnectNode(iChild, iParent, iAfter);
-}
-
-void CDasherInterfaceBase::DisconnectNode(int iChild, int iParent) {
- CControlManager *pMgr(m_pNCManager->GetControlManager());
- pMgr->DisconnectNode(iChild, iParent);
-}
-
void CDasherInterfaceBase::SetBoolParameter(int iParameter, bool bValue) {
m_pSettingsStore->SetBoolParameter(iParameter, bValue);
}
diff --git a/Src/DasherCore/DasherInterfaceBase.h b/Src/DasherCore/DasherInterfaceBase.h
index 03b99eb..85cb161 100644
--- a/Src/DasherCore/DasherInterfaceBase.h
+++ b/Src/DasherCore/DasherInterfaceBase.h
@@ -331,16 +331,10 @@ public:
/// @}
- /// @name Control hierarchy and action buttons
- /// Manipulate the hierarchy of commands presented in control mode etc
+ /// @name Action buttons
+ /// TODO, how much of this was ever implemented???
/// @{
- void RegisterNode( int iID, const std::string &strLabel, int iColour );
-
- void ConnectNode(int iChild, int iParent, int iAfter);
-
- void DisconnectNode(int iChild, int iParent);
-
void ExecuteCommand(const std::string &strName);
void AddActionButton(const std::string &strName);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]