stream: fix headers and missing static keyword

This commit is contained in:
Peter Wu 2012-08-30 12:30:11 +02:00 committed by Thulinma
parent 7b2deebfb2
commit 0aaa98b73e
2 changed files with 4 additions and 2 deletions

View file

@ -1,6 +1,8 @@
/// \file stream.cpp
/// Utilities for handling streams.
#include <sys/stat.h>
#include <sys/types.h>
#include "stream.h"
#include "procs.h"
#include "socket.h"

View file

@ -3,12 +3,12 @@
#pragma once
#include <string>
#include <mist/socket.h>
#include "socket.h"
namespace Util{
class Stream{
/// Sanitize a streamname.
void sanitizeName(std::string & streamname);
static void sanitizeName(std::string & streamname);
public:
/// Get a connection to a Live stream.
static Socket::Connection getLive(std::string streamname);