%%%%%%%%%% 
%%%%%%%%%% template-for-new-dialog-bar.h.txt
%%%%%%%%%%
%%%%%%%%%% author: Martin Ltzsch
%%%%%%%%%% 
%%%%%%%%%% This is a template for creating a tool bar header file.
%%%%%%%%%% Read the RobotControl programming manual from the Intranet before and
%%%%%%%%%% then just work off the single steps.
%%%%%%%%%% 
%%%%%%%%%% Step1: Invent a name for the tool bar class, e.g. CFooBlaToolBar
%%%%%%%%%% 
%%%%%%%%%% Step2: Copy this template file to e.g. FooBlaToolBar.h
%%%%%%%%%% 
%%%%%%%%%% Step3: Replace all occurences of "" by e.g. "FooBla"
%%%%%%%%%% 
/**
* @file $$$$ToolBar.h
* 
* Declaration class $$$$ToolBar .
*
%%%%%%%%%% 
%%%%%%%%%% Step4: Add the author(s) of this tool bar here
%%%%%%%%%% 
* @author Donald Duck
*/


#ifndef __$$$$ToolBar_h_ 
#define __$$$$ToolBar_h_ 

#include "StdAfx.h"
#include "RobotControlToolBar.h"

/**
* @class C$$$$ToolBar
*
%%%%%%%%%% 
%%%%%%%%%% Step5: Explain here what the tool bar can be used for.
%%%%%%%%%% 
* A tool bar for bla bla
*
%%%%%%%%%% 
%%%%%%%%%% Step6: Add the author(s) of this tool bar here again.
%%%%%%%%%% 
* @author Donald Duck
*/
class C$$$$ToolBar : public CRobotControlToolBar
{
  DECLARE_DYNAMIC( C$$$$ToolBar );
public:

  /** constructor */
  C$$$$ToolBar();

  /** Initializes the tool bar */
  virtual void Init(); 

  /** 
  * Handles control notifications which arrived in the main frame 
  * @param command The id of the control, menu, accelerator etc.
  * @return If the command was handled.
  */
  virtual bool handleCommand(UINT command);

  /** 
  * Enables the controls in the toolbar. 
  * This function is called from the main window for all controls. 
  * @param pCmdUI An interface to the control that allows enabling/disabling, checking etc.
  */
  virtual void updateUI(CCmdUI* pCmdUI);

protected:
  /** Determines for each of the buttons whether is has a text */
  virtual bool HasButtonText( UINT nID );
};


#endif //__$$$$ToolBar_h_ 

/*
 * Change log :
 * 
%%%%%%%%%% 
%%%%%%%%%% Step7: Remove the "_" characters from the next line. 
%%%%%%%%%% 
 * $_Log_$
*/

%%%%%%%%%% 
%%%%%%%%%% Step8: Remove all lines starting with "%%%%%%%%%%", proceed then 
%%%%%%%%%%        with template-for-new-tool-bar.cpp.txt 
%%%%%%%%%%
