Songbird Wiki > Developer Center > Articles > Style Manual > File Naming Conventions

File Naming Conventions

From $1

Table of contents
No headers
  • All filenames begin with a lowercase letter.
  • All filenames use interCaps to mark words.
  • No underscores.
  • The prefix sb will be added to all files except frontend XUL files (.xul, .js, .xml, and .css). This includes all C++ files (.cpp and .h files), all IDL files, and all JavaScript files not specifically tied to a XUL file.
  • Files will be named according to the contents. Be mindful of the functional names that should be considered reserved.
  • Files defining interfaces must include a prefix indicating that fact. C++-only interfaces will be defined in .h files while all XPCOM interfaces will be defined in .idl files.
    • Public interfaces: sbI
    • Private interfaces (i.e. "Internal"): sbPI
Tags:
 
Images (0)
 
Comments (0)
You must login to post a comment.