Ignore:
Timestamp:
04/22/15 04:14:59 (9 years ago)
Author:
sz
Message:

Renamed some classes and functions to make their purpose more obvious:

All MessageHandlers? must now be given the explicit "Enable" argument if you want them to automatically become active. This makes side effects clearly visible.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/common/stl-util.cpp

    r319 r372  
    99#include "Convert.h"
    1010#include "nonstd.h"
    11 #include "framsg.h"
     11#include "hmessage.h"
    1212#include <assert.h>
    1313#ifdef USE_VIRTFILE
     
    107107        }
    108108        if (warn_on_missing_file && !ok)
    109                 FMprintf("stl-util", "readCompleteFile", FMLV_WARN, "Couldn't open file '%s'", filename);
     109                Hprintf("stl-util", "readCompleteFile", HMLV_WARN, "Couldn't open file '%s'", filename);
    110110        return ok;
    111111}
     
    137137        }
    138138        if (warn_on_fail && !ok)
    139                 FMprintf("stl-util", "writeCompleteFile", FMLV_WARN, "couldn't write file '%s'", filename);
     139                Hprintf("stl-util", "writeCompleteFile", HMLV_WARN, "couldn't write file '%s'", filename);
    140140        return ok;
    141141}
Note: See TracChangeset for help on using the changeset viewer.