Skip to content

Commit

Permalink
include/nutwriter.hpp, common/nutwriter.cpp: update comments to match…
Browse files Browse the repository at this point in the history
… classes to config files [networkupstools#2294]

Signed-off-by: Jim Klimov <[email protected]>
  • Loading branch information
jimklimov committed Apr 25, 2024
1 parent 188e8c0 commit 411eef7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
16 changes: 12 additions & 4 deletions common/nutwriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,18 @@ namespace nut {
* error: 'ClassName' has no out-of-line virtual method definitions; its vtable
* will be emitted in every translation unit [-Werror,-Wweak-vtables]
*/
NutConfigWriter::~NutConfigWriter() {}
NutConfConfigWriter::~NutConfConfigWriter() {}
UpsmonConfigWriter::~UpsmonConfigWriter() {}
UpsdConfigWriter::~UpsdConfigWriter() {}
NutConfigWriter::~NutConfigWriter() {} // generic interface/base class
// Flat-config classes:
NutConfConfigWriter::~NutConfConfigWriter() {} // nut.conf, shell format
UpsmonConfigWriter::~UpsmonConfigWriter() {} // upsmon.conf
UpsdConfigWriter::~UpsdConfigWriter() {} // upsd.conf
// Structured-config classes R/W is handled via GenericConfiguration:
// UpsConfiguration: ups.conf
// UpsdUsersConfiguration: upsd.users
// Not handled currently:
// xxx: upssched.conf
// xxx: upsset.conf
// xxx: hosts.conf

// End-of-Line separators (arch. dependent)

Expand Down
2 changes: 1 addition & 1 deletion include/nutwriter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class NutWriter {


/**
* \brief NUT configuration writer interface
* \brief NUT configuration writer interface (generic)
*/
class NutConfigWriter: public NutWriter {
protected:
Expand Down

0 comments on commit 411eef7

Please sign in to comment.