X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=development%2Fcoding%2FRules;h=9fb464c16ce9457c9d08d37447ca63214ddd52f0;hb=b73879691f816b0874d9dec0c09e2db7889c4e8e;hp=558449c8d7bbe66e08b129cf6fe158828b12b94f;hpb=fd244191453b65161080f4bb08aa8943d5158e9f;p=lyx.git diff --git a/development/coding/Rules b/development/coding/Rules index 558449c8d7..9fb464c16c 100644 --- a/development/coding/Rules +++ b/development/coding/Rules @@ -289,6 +289,10 @@ Formatting - Members variables are underscored ('enable_this_feature_flag_') with a final '_' - private/protected functions are also camel-case + + - Each class is implemented in a separate pair of .h/.cpp files named like + the class. Exceptions are tiny helper classes which are closely tied to + the main class. New types are capitalized, so this goes for typedefs, classes, structs