motorcontrol: add frontend member and param to select frontend to use; set live frontend to selected for diseqc commands

Origin commit data
------------------
Branch: ni/coolstream
Commit: 2e11214728
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-01-13 (Fri, 13 Jan 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2012-01-13 14:43:55 +04:00
parent 4e9c21eebb
commit 80a5fcb94a
2 changed files with 40 additions and 21 deletions

View File

@@ -37,7 +37,7 @@
#include <gui/widget/progressbar.h>
#include <driver/framebuffer.h>
#include <string>
#include <zapit/femanager.h>
#define STEP_MODE_OFF 0
#define STEP_MODE_AUTO 1
@@ -49,6 +49,7 @@ class CMotorControl : public CMenuTarget
private:
void Init(void);
CFrameBuffer *frameBuffer;
CFrontend *frontend;
int x;
int y;
int width;
@@ -57,7 +58,7 @@ class CMotorControl : public CMenuTarget
int ypos;
int ypos_status;
int ypos_menue;
int8_t stepSize;
int32_t stepDelay;
int stepMode;
@@ -81,7 +82,8 @@ class CMotorControl : public CMenuTarget
public:
CMotorControl();
CMotorControl(int tnum = 0);
~CMotorControl();
void hide();
int exec(CMenuTarget* parent, const std::string & actionKey);
};