stopTime = 0;
file = NULL;
- summary = NULL;
index = -1;
directory = NULL;
RecTimer::~RecTimer()
{
- if (summary) delete[] summary;
if (file) delete[] file;
if (directory) delete[] directory;
if (name) delete[] name;
ULONG startTime;
ULONG stopTime;
- char* summary;
-
int index;
bool operator< (const RecTimer& op2);
Channel number
Start time
Stop time
-Summary
*/
return 0;
}
-printf("sent request\n");
-
if (!getPacket())
{
pthread_mutex_unlock(&mutex);
return 0;
}
-printf("got reply\n");
-
int toReturn = (int)extractULONG();
freePacket();
newRecTimer->setFile(tempString);
delete[] tempString;
- newRecTimer->summary = extractString();
-
recTimerList->push_back(newRecTimer);
Log::getInstance()->log("VDR", Log::DEBUG, "TL: %lu %lu %lu %lu %lu %lu %lu %lu %s",
newRecTimer->active, newRecTimer->recording, newRecTimer->pending, newRecTimer->priority, newRecTimer->lifeTime,
else if (i->second == 6) newTCPsize = 65536;
Log::getInstance()->log("Options", Log::DEBUG, "Setting TCP window size %i", newTCPsize);
- vdr->setReceiveWindow(newTCPsize);
+ VDR::getInstance()->setReceiveWindow(newTCPsize);
break;
}
}
ypos += surface->getFontHeight();
drawText("Current", xpos, ypos, Colour::LIGHTTEXT); ypos += surface->getFontHeight();
drawText("Recording", xpos, ypos, Colour::LIGHTTEXT); ypos += surface->getFontHeight();
- drawText("Summary", xpos, ypos, Colour::LIGHTTEXT); ypos += surface->getFontHeight();
// Temp
else strcpy(buffer, "No");
drawText(buffer, xpos, ypos, Colour::LIGHTTEXT); ypos += surface->getFontHeight();
- // Summary
- strcpy(buffer, "View summary");
- drawText(buffer, xpos, ypos, Colour::LIGHTTEXT); ypos += surface->getFontHeight();
-
}