/* BAE_SAVD (STD) -- BAE Save Done Action */ /* BAE_SAVD (STD) -- BAE Speichern beendet Aktion */ /* -- EXECUTED AFTER SAVING SOME BAE ELEMENT -- */ /* // Copyright (c) 2007-2013 Bartels System GmbH, Muenchen // Author: Roman Ludwig // Changes History: // rl (131029) RELEASED FOR BAE V8.0. // rl (120427) RELEASED FOR BAE V7.8. // rl (101019) RELEASED FOR BAE V7.6. // rl (091020) RELEASED FOR BAE V7.4. // rl (081014) RELEASED FOR BAE V7.2. // rl (071029) RELEASED FOR BAE V7.0. // rl (070927) ORIGINAL CODING. // // DESCRIPTION // // The bae_savd User Language program is automatically activated after // saving an element to the corresponding User Language Interpreter // environment. bae_savd performs no action itself but provides support of // a configurable user specific User Language Program call. */ // Includes #include "std.ulh" // User Language standard include // Disable undo state request #pragma ULCALLERNOUNDO // INI file parameter name definitions #define PAR_USERSDPROG "USERSDPROG_STD"// User defined save done program name // Globals static string usersdprog = bae_inistrval(PAR_USERSDPROG,"") /* User defined save done prog. name */; // Main program void main() { // Abort if invalid plan class if (bae_planddbclass()==DDBCLUNDEF) return; // Check if extra user specific ULC program call requested if (usersdprog!="") ulsystem(usersdprog,0); } // User Language program end