Skip to content

Refactor: rename class name and UI prompts #47

@KangLin

Description

@KangLin

Issue

  • The current client connection framework works very well. However, the naming is not friendly to the non-connection framework, and its function is not immediately clear.
  • The server framework is similar to the connector framework and can be merged.
  • The UI prompts are not friendly to non-connected functions. eg: Menu->Remote->Connect->Tool: Wake on lan

Solution

  • Rename UI prompts
Current name New name Function
Remote Operate Menu
Remote->Connect Operate->Start Menu or tool bar
Remote->Disconnect Operate->Stop Menu or tool bar
  • Rename the class name of interface.
Current name New name Function
CClient CManager Managing plugins
CPluginClient CPlugin
CConnecter COperate Operations in the main thread (UI thread)
CConnect CBackend Specific implementation(background thread)
  • Add TYPE type() member function in the CPluginClient
enum TYPE{
    Client,
    Server,
    Tool
}
  • Remove RabbitRemoteControlServiceConfigure application, merge it to RabbitRemoteControl.

@volkansari @comradekingu @zgml @darkfessing @chengzhidada @skyformat99 @akallabeth @antenore @axt178178 @PopeyeloveWeed @NoName50
Please review and make sure that the new name or optional name is more suitable for this function?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions