# $Id: CodingConventions.txt,v 1.1 2001/08/04 17:38:58 lord Exp $

Title: Firewall Builder Project Coding Conventions
Author: Vadim Zaliva <lord@crocodile.org>

C++ code
--------

Class names: Starting from upper case, capitalising each subsequent word, without
underscores. 
Example: OptionsDialog

Constants: All caps, words separated by underscores.
Example: DEFAULT_TIMEOUT

Methods: Statring from lower case, capitalising each subsequent word, without
underscores. 
Example: startOperation();

Variables: all lower case, words separated by underscores.
Example: current_length;

First file included into every source file should be "config.h".

File Extentions:
----------------

Plain text: .txt
html: .html
C++ code: .cc
C++ header: .hh

File Names
------------

One source + one header file per class recommended.

C++ source and header file names must match class name with
appropriate extention added.

Example: Firewall.hh, Firewall.cc

If file contains several classes of related functionality,
name file with lower case name describing it's generic function.
Example: "dns.hh"



