SASC-NG
DVBSoftCAM

cLastKey Class Reference

#include <data.h>

List of all members.

Public Member Functions

 cLastKey (void)
bool NotLast (int Type, int Id, int Keynr)

Detailed Description

Definition at line 334 of file data.h.


Constructor & Destructor Documentation

cLastKey::cLastKey ( void  )

Definition at line 863 of file data.c.

{
  lastType=lastId=lastKeynr=-1;
}

Member Function Documentation

bool cLastKey::NotLast ( int  Type,
int  Id,
int  Keynr 
)

Definition at line 868 of file data.c.

Referenced by cSystem::KeyFail(), cSystem::KeyOK(), and cPlainKeys::Trigger().

{
  if(lastType!=Type || lastId!=Id || lastKeynr!=Keynr) {
    lastType=Type; lastId=Id; lastKeynr=Keynr;
    return true;
    }
  return false;
}

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines