Coding Guidelines

From Theora Playback Library
Jump to: navigation, search

Brackets

void function()
{
    if (something)
    {
      
    }
    else
    {
    
    }
}

Classes

Naming Convention

  • Preceded by Theora
  • Connected words, each word capitalized:
video manager -> TheoraVideoManager

Member Variables

Connected words, each word capitalized, preceded by 'm':

num worker threads -> mNumWorkerThreads

Member Functions

Connected words, each word exept the first one is capitalized:

decoded audio check -> decodedAudioCheck()