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
|
||||
/// Utilities for handling streams.
|
||||
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include "stream.h"
|
||||
#include "procs.h"
|
||||
#include "socket.h"
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue