mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 06:05:58 -06:00
12 lines
No EOL
283 B
C++
12 lines
No EOL
283 B
C++
#include "SshBasics.h"
|
|
|
|
// SshPick:
|
|
// Demonstrates the pick (move) semantics for ssh objects.
|
|
|
|
void SshPick(SshSession& session)
|
|
{
|
|
SshSession psession = pick(session); // All Ssh-based objects are pickable.
|
|
if(!session)
|
|
LOG("SshSession object is picked.");
|
|
SFtpGet(psession);
|
|
} |