stream: fix headers and missing static keyword
This commit is contained in:
parent
740d46d4be
commit
e8a20c146b
2 changed files with 4 additions and 2 deletions
|
@ -1,6 +1,8 @@
|
||||||
/// \file stream.cpp
|
/// \file stream.cpp
|
||||||
/// Utilities for handling streams.
|
/// Utilities for handling streams.
|
||||||
|
|
||||||
|
#include <sys/stat.h>
|
||||||
|
#include <sys/types.h>
|
||||||
#include "stream.h"
|
#include "stream.h"
|
||||||
#include "procs.h"
|
#include "procs.h"
|
||||||
#include "socket.h"
|
#include "socket.h"
|
||||||
|
|
|
@ -3,12 +3,12 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <mist/socket.h>
|
#include "socket.h"
|
||||||
|
|
||||||
namespace Util{
|
namespace Util{
|
||||||
class Stream{
|
class Stream{
|
||||||
/// Sanitize a streamname.
|
/// Sanitize a streamname.
|
||||||
void sanitizeName(std::string & streamname);
|
static void sanitizeName(std::string & streamname);
|
||||||
public:
|
public:
|
||||||
/// Get a connection to a Live stream.
|
/// Get a connection to a Live stream.
|
||||||
static Socket::Connection getLive(std::string streamname);
|
static Socket::Connection getLive(std::string streamname);
|
||||||
|
|
Loading…
Add table
Reference in a new issue