LibreOffice Module sd (master)
1
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Functions
a
c
d
f
g
h
i
l
m
o
r
s
u
w
Variables
a
b
c
d
e
g
h
i
m
n
o
p
s
t
v
w
Typedefs
a
b
c
d
e
f
g
i
l
m
n
p
r
s
t
u
v
w
Enumerations
Enumerator
a
b
c
d
e
f
h
m
n
o
p
s
t
v
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Variables
a
b
c
d
e
f
g
h
l
m
n
o
p
r
s
u
x
z
Typedefs
a
b
c
d
e
f
i
k
l
m
p
r
s
t
u
v
x
Enumerations
a
c
d
e
f
g
h
i
l
m
o
p
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Related Functions
:
a
c
d
e
i
m
o
p
s
t
u
v
w
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
w
Variables
a
b
c
d
g
h
j
k
m
n
p
s
t
v
w
x
Typedefs
Enumerations
Enumerator
c
f
h
l
m
n
o
p
s
u
v
Macros
a
b
c
d
e
f
g
i
k
m
n
p
r
s
t
u
v
w
z
sd
source
ui
remotecontrol
OSXNetworkService.hxx
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
* This file is part of the LibreOffice project.
4
*
5
* This Source Code Form is subject to the terms of the Mozilla Public
6
* License, v. 2.0. If a copy of the MPL was not distributed with this
7
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
*/
9
#pragma once
10
11
#include <errno.h>
12
#include <stdlib.h>
13
#include <string.h>
14
#include <algorithm>
15
#include <vector>
16
#include <iostream>
17
18
#include <osl/conditn.hxx>
19
#include <premac.h>
20
#import <CoreFoundation/CoreFoundation.h>
21
#include <postmac.h>
22
#import "
OSXNetworkService.h
"
23
24
#include "
ZeroconfService.hxx
"
25
26
namespace
sd
{
27
class
OSXNetworkService
:
public
ZeroconfService
28
{
29
private
:
30
OSXBonjourService
*
osxservice
;
31
public
:
32
OSXNetworkService
(
const
std::string& aname =
""
,
unsigned
int
aport = 1599)
33
:
ZeroconfService
(aname, aport){}
34
35
void
clear
()
override
{
36
[
osxservice
dealloc];
37
}
38
void
setup
()
override
{
39
osxservice
= [[
OSXBonjourService
alloc]
init
];
40
[
osxservice
publishImpressRemoteServiceOnLocalNetworkWithName:
@""
];
41
};
42
};
43
}
OSXNetworkService.h
ZeroconfService.hxx
init
FILE * init(int, char **)
sd::OSXNetworkService
Definition:
OSXNetworkService.hxx:28
sd::OSXNetworkService::OSXNetworkService
OSXNetworkService(const std::string &aname="", unsigned int aport=1599)
Definition:
OSXNetworkService.hxx:32
sd::OSXNetworkService::clear
void clear() override
Definition:
OSXNetworkService.hxx:35
sd::OSXNetworkService::osxservice
OSXBonjourService * osxservice
Definition:
OSXNetworkService.hxx:30
sd::OSXNetworkService::setup
void setup() override
Definition:
OSXNetworkService.hxx:38
sd::ZeroconfService
Definition:
ZeroconfService.hxx:30
OSXBonjourService
Definition:
OSXNetworkService.h:23
sd
Generated on Sun Jul 30 2023 04:27:22 for LibreOffice Module sd (master) by
1.9.3