This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.heater.core.plugin; | |
import com.google.inject.AbstractModule; | |
import com.google.inject.multibindings.Multibinder; | |
import org.heater.api.HeaterActivator; | |
import java.util.ArrayList; | |
import java.util.List; | |
public class PluginManager { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::io::net::ip::{Ipv4Addr, SocketAddr}; | |
use std::io::net::tcp::{TcpListener, TcpStream}; | |
use std::io::{Acceptor, Listener, IoResult}; | |
struct Client { | |
stream: TcpStream | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef ABUSE_REASON_HPP | |
#define ABUSE_REASON_HPP | |
namespace Data | |
{ | |
class AbuseReason : public DataObject | |
{ | |
int _abuseReasonId() const | |
{ return this["_abuseReasonId"].Cast<int>(); } | |