LMMS
Loading...
Searching...
No Matches
LASHClient Class Reference

#include <LASHClient.h>

Public Types

enum  Event { Save , Restore , Quit , NoEvent }

Public Member Functions

 LASHClient (int *argc, char ***argv)
void setalsaid (int id)
void setjackname (const char *name)
Event checkevents (std::string &filename)
void confirmevent (Event event)

Private Attributes

lash_client_t * client

Detailed Description

This class wraps up some functions for initialising and polling the LASH daemon.

Member Enumeration Documentation

◆ Event

Enum to represent the LASH events that are currently handled

Enumerator
Save 
Restore 
Quit 
NoEvent 

Constructor & Destructor Documentation

◆ LASHClient()

LASHClient::LASHClient ( int * argc,
char *** argv )

Constructor

Parameters
argcnumber of arguments
argvthe text arguments

Member Function Documentation

◆ checkevents()

LASHClient::Event LASHClient::checkevents ( std::string & filename)

◆ confirmevent()

void LASHClient::confirmevent ( Event event)

◆ setalsaid()

void LASHClient::setalsaid ( int id)

set the ALSA id

Parameters
idnew ALSA id

◆ setjackname()

void LASHClient::setjackname ( const char * name)

Set the JACK name

Parameters
namethe new name

Member Data Documentation

◆ client

lash_client_t* LASHClient::client
private

The documentation for this class was generated from the following files: