actual/packages/node-libofx/OpenSP-1.5.2/lib/SearchResultMessageArg.cxx

36 lines
627 B
C++
Raw Normal View History

2022-04-29 02:44:38 +00:00
// Copyright (c) 1995 James Clark
// See the file COPYING for copying permission.
#ifdef __GNUG__
#pragma implementation
#endif
#include "splib.h"
#include "SearchResultMessageArg.h"
#ifdef SP_NAMESPACE
namespace SP_NAMESPACE {
#endif
RTTI_DEF1(SearchResultMessageArg, OtherMessageArg);
SearchResultMessageArg::SearchResultMessageArg()
{
}
MessageArg *SearchResultMessageArg::copy() const
{
return new SearchResultMessageArg(*this);
}
void SearchResultMessageArg::add(StringC &str, int n)
{
filename_.resize(filename_.size() + 1);
str.swap(filename_.back());
errno_.push_back(n);
}
#ifdef SP_NAMESPACE
}
#endif