/[svn]/linuxsampler/trunk/src/network/lscpresultset.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/network/lscpresultset.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 225 by schoenebeck, Sun Aug 22 14:46:47 2004 UTC revision 397 by senkov, Mon Feb 21 04:28:50 2005 UTC
# Line 70  void LSCPResultSet::Add(String Label, co Line 70  void LSCPResultSet::Add(String Label, co
70      Add(Label, String(pValue));      Add(Label, String(pValue));
71  }  }
72    
73    //Add SQL resultset row
74    void LSCPResultSet::Add(int columns, char** argv) {
75            for (int i = 0; i < columns; i++)
76            {
77                    storage += argv[i];
78                    if ((i+1) < columns)
79                            storage += "|";
80            }
81            storage += "\r\n";
82            count = 2; //This result is always multiline.
83    }
84    
85  void LSCPResultSet::Add(int Value) {  void LSCPResultSet::Add(int Value) {
86          Add(ToString(Value));          Add(ToString(Value));
87  }  }

Legend:
Removed from v.225  
changed lines
  Added in v.397

  ViewVC Help
Powered by ViewVC